Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ set_property (TARGET lex_executable PROPERTY OUTPUT_NAME "lex")
#SET(CMAKE_CXX_FLAGS_GCOV "--coverage")
#SET(CMAKE_C_FLAGS_GCOV "--coverage")
#SET(CMAKE_EXE_LINKER_FLAGS_GCOV "--coverage")
if (CMAKE_BUILD_TYPE STREQUAL "Debug" OR NOT CMAKE_BUILD_TYPE)

# For Debug builds, point to the source directory; for any other situation
# (CMAKE_BUILD_TYPE is not always "Release" for releases), use the install
# location.
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
target_compile_definitions(task PRIVATE
-DTASK_TEST_RCDIR="${CMAKE_SOURCE_DIR}/doc/rc"
)
Expand Down
Loading