mirror of
https://github.com/BlackMATov/vmath.hpp.git
synced 2025-12-13 04:06:52 +07:00
add single header vmath variant
This commit is contained in:
@@ -11,6 +11,10 @@ add_library(${PROJECT_NAME} INTERFACE)
|
||||
target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_17)
|
||||
target_include_directories(${PROJECT_NAME} INTERFACE headers)
|
||||
|
||||
add_library(${PROJECT_NAME}.singles INTERFACE)
|
||||
target_compile_features(${PROJECT_NAME}.singles INTERFACE cxx_std_17)
|
||||
target_include_directories(${PROJECT_NAME}.singles INTERFACE singles)
|
||||
|
||||
if(BUILD_AS_STANDALONE)
|
||||
option(BUILD_WITH_UNTESTS "Build with unit tests" ON)
|
||||
if(BUILD_WITH_UNTESTS)
|
||||
|
||||
4403
singles/vmath.hpp/vmath.hpp
Normal file
4403
singles/vmath.hpp/vmath.hpp
Normal file
File diff suppressed because it is too large
Load Diff
@@ -18,7 +18,7 @@ endif()
|
||||
|
||||
file(GLOB_RECURSE UNTESTS_SOURCES "*.cpp" "*.hpp")
|
||||
add_executable(${PROJECT_NAME} ${UNTESTS_SOURCES})
|
||||
target_link_libraries(${PROJECT_NAME} vmath.hpp)
|
||||
target_link_libraries(${PROJECT_NAME} vmath.hpp.singles)
|
||||
|
||||
target_compile_options(${PROJECT_NAME}
|
||||
PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user