]> gitweb.hhaalo.de Git - feierabend.git/commitdiff
run tests only in debug build
authorBastian Dehn <hhaalo@arcor.de>
Sat, 15 Jun 2024 05:55:51 +0000 (07:55 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 15 Jun 2024 05:55:51 +0000 (07:55 +0200)
CMakeLists.txt

index b33b1de119f6d9935679d5934738a01c076386da..652bdb0eaab913687674a14e2019ebb8ea9bdd18 100644 (file)
@@ -12,4 +12,6 @@ MESSAGE(STATUS "CMAKE_C_FLAGS: ${CMAKE_C_FLAGS}")
 PROJECT(feierabend-c)
 
 ADD_SUBDIRECTORY(src)
-ADD_SUBDIRECTORY(tests)
\ No newline at end of file
+IF(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
+       ADD_SUBDIRECTORY(tests)
+ENDIF()
\ No newline at end of file