mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 04:47:18 +08:00
commit
b66b07fb39
@ -28,6 +28,8 @@ project(sqlpp11 VERSION 0.1 LANGUAGES CXX)
|
|||||||
|
|
||||||
enable_testing()
|
enable_testing()
|
||||||
|
|
||||||
|
option(ENABLE_TESTS "Build unit tests" On)
|
||||||
|
|
||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/")
|
||||||
find_package(HinnantDate REQUIRED)
|
find_package(HinnantDate REQUIRED)
|
||||||
|
|
||||||
@ -104,9 +106,11 @@ install(
|
|||||||
${ConfigPackageLocation}
|
${ConfigPackageLocation}
|
||||||
)
|
)
|
||||||
|
|
||||||
add_subdirectory(tests)
|
if(ENABLE_TESTS)
|
||||||
add_subdirectory(test_types)
|
add_subdirectory(tests)
|
||||||
add_subdirectory(test_serializer)
|
add_subdirectory(test_types)
|
||||||
add_subdirectory(test_static_asserts)
|
add_subdirectory(test_serializer)
|
||||||
add_subdirectory(test_constraints)
|
add_subdirectory(test_static_asserts)
|
||||||
add_subdirectory(test_scripts)
|
add_subdirectory(test_constraints)
|
||||||
|
add_subdirectory(test_scripts)
|
||||||
|
endif()
|
Loading…
Reference in New Issue
Block a user