Squash add tests

This commit is contained in:
Metehan Tuncbilek
2024-08-04 14:49:28 +02:00
committed by Georg Hagen
parent 071ced8cb0
commit db367db7bb
2 changed files with 29 additions and 3 deletions

View File

@@ -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()