Shlomi Fish avatar Shlomi Fish committed 6d06985

Got the test suite to work with ../Tatzer -r.

More accurately ../Tatzer -r --dbm=kaztree, but you know.

Comments (0)

Files changed (1)

fc-solve/source/CMakeLists.txt

 SET (IS_DEBUG)
 IF ((CMAKE_BUILD_TYPE STREQUAL debug) OR (CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo))
     SET (IS_DEBUG 1)
-    LIST(APPEND COMPILER_FLAGS_TO_CHECK "-DFCS_COMPILE_DEBUG_FUNCTIONS=1")
     # This slows down the program considerably.
     IF (CMAKE_BUILD_TYPE STREQUAL debug)
         LIST(APPEND COMPILER_FLAGS_TO_CHECK "-DDEBUG=1")
     ENDIF (${CMAKE_COMPILER_IS_GNUCC})
 ENDIF ((CMAKE_BUILD_TYPE STREQUAL debug) OR (CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo))
 
+IF (IS_DEBUG OR FCS_WITH_TEST_SUITE)
+    LIST(APPEND COMPILER_FLAGS_TO_CHECK "-DFCS_COMPILE_DEBUG_FUNCTIONS=1")
+ENDIF (IS_DEBUG OR FCS_WITH_TEST_SUITE)
+
 IF (${CMAKE_COMPILER_IS_GNUCC})
     ADD_DEFINITIONS("-std=gnu99")
 ENDIF (${CMAKE_COMPILER_IS_GNUCC})
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.