mirror of
https://github.com/BlackMATov/vmath.hpp.git
synced 2025-12-13 04:06:52 +07:00
remove single-header version
This commit is contained in:
@@ -13,10 +13,6 @@ 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)
|
||||
|
||||
target_compile_options(${PROJECT_NAME}
|
||||
INTERFACE
|
||||
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:
|
||||
@@ -27,16 +23,6 @@ target_compile_options(${PROJECT_NAME}
|
||||
-Wno-shadow
|
||||
-Wno-unknown-warning-option>)
|
||||
|
||||
target_compile_options(${PROJECT_NAME}.singles
|
||||
INTERFACE
|
||||
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:
|
||||
-Wno-c++98-compat-pedantic
|
||||
-Wno-ctad-maybe-unsupported
|
||||
-Wno-double-promotion
|
||||
-Wno-float-equal
|
||||
-Wno-shadow
|
||||
-Wno-unknown-warning-option>)
|
||||
|
||||
if(BUILD_AS_STANDALONE)
|
||||
option(BUILD_WITH_UNTESTS "Build with unit tests" ON)
|
||||
if(BUILD_WITH_UNTESTS)
|
||||
|
||||
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.singles)
|
||||
target_link_libraries(${PROJECT_NAME} vmath.hpp)
|
||||
|
||||
target_compile_options(${PROJECT_NAME}
|
||||
PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user