From: Bastian Dehn Date: Sat, 15 Jun 2024 05:55:51 +0000 (+0200) Subject: run tests only in debug build X-Git-Tag: 1.0.0^2~5 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=0f8f4b8c6b3fa4ab5fbb70249a4e285e5239e378;p=feierabend.git run tests only in debug build --- diff --git a/CMakeLists.txt b/CMakeLists.txt index b33b1de..652bdb0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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