mirror of
https://github.com/overte-org/overte.git
synced 2025-06-23 07:19:54 +02:00
Merge pull request #11229 from ElderOrb/optional_build_tests
make building tests optional
This commit is contained in:
commit
f82fa2f981
1 changed files with 6 additions and 1 deletions
|
@ -247,6 +247,9 @@ endif()
|
||||||
|
|
||||||
set_packaging_parameters()
|
set_packaging_parameters()
|
||||||
|
|
||||||
|
option(BUILD_TESTS "Build tests" ON)
|
||||||
|
MESSAGE(STATUS "Build tests: " ${BUILD_TESTS})
|
||||||
|
|
||||||
# add subdirectories for all targets
|
# add subdirectories for all targets
|
||||||
if (NOT ANDROID)
|
if (NOT ANDROID)
|
||||||
add_subdirectory(assignment-client)
|
add_subdirectory(assignment-client)
|
||||||
|
@ -259,7 +262,9 @@ if (NOT ANDROID)
|
||||||
if (NOT SERVER_ONLY)
|
if (NOT SERVER_ONLY)
|
||||||
add_subdirectory(interface)
|
add_subdirectory(interface)
|
||||||
set_target_properties(interface PROPERTIES FOLDER "Apps")
|
set_target_properties(interface PROPERTIES FOLDER "Apps")
|
||||||
add_subdirectory(tests)
|
if (BUILD_TESTS)
|
||||||
|
add_subdirectory(tests)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
add_subdirectory(plugins)
|
add_subdirectory(plugins)
|
||||||
add_subdirectory(tools)
|
add_subdirectory(tools)
|
||||||
|
|
Loading…
Reference in a new issue