Squash add tests
This commit is contained in:
committed by
Georg Hagen
parent
071ced8cb0
commit
db367db7bb
@@ -26,7 +26,7 @@ SetOptimisationSettings()
|
||||
# ------------------------- CMAKE OPTIONS -------------------------
|
||||
option(USE_ASSIMP "If assimp should be used" ON)
|
||||
option(TRACY_ENABLE "Enable Tracy Profiler" OFF)
|
||||
option(ENABLE_TEST "Enable testing" OFF)
|
||||
option(ENABLE_TEST "Enable testing" ON)
|
||||
option(ENABLE_EXAMPLE "Enable examples" ON)
|
||||
# -----------------------------------------------------------------
|
||||
|
||||
@@ -38,10 +38,10 @@ add_subdirectory(openVulkanoCpp)
|
||||
|
||||
if(ENABLE_TEST)
|
||||
enable_testing()
|
||||
add_subdirectory(unitTest)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
# Finally generate the tests and examples
|
||||
if(ENABLE_EXAMPLE)
|
||||
add_subdirectory(examples)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user