Skip to content

Commit

Permalink
variadic dimensions (#111)
Browse files Browse the repository at this point in the history
* c++17-ization
* removed vs2013
* fixed gtest compilation
* usedconstexpr if to simplify the conversion function and removed the SFINAE
* renamed `unit_t` to `unit`
* more c++17. Renamed unit_tag to unit_conversion
* clarified template args
* improved error messages
* constexpr sqrt/pow
  • Loading branch information
nholthaus authored Apr 26, 2018
1 parent 21375b1 commit 4c801c9
Show file tree
Hide file tree
Showing 4 changed files with 2,033 additions and 2,683 deletions.
4 changes: 1 addition & 3 deletions 3rdParty/gtest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,10 @@ ELSE(WIN32)
INTERFACE_LINK_LIBRARIES -pthread
)
ENDIF(WIN32)

target_compile_definitions(${PROJECT_NAME} INTERFACE GTEST_LANG_CXX11)
add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}-ext)

SET(INCLUDE_DIR ${${PROJECT_NAME_UPPER}_DIR}/googletest/include)
FILE(MAKE_DIRECTORY ${INCLUDE_DIR})
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${INCLUDE_DIR})
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${INCLUDE_DIR} INTERFACE_COMPILE_DEFINITIONS GTEST_LANG_CXX11)

MARK_AS_ADVANCED(${PROJECT_NAME_UPPER}_DIR)
Loading

0 comments on commit 4c801c9

Please sign in to comment.