diff options
Diffstat (limited to 'src/dad')
-rw-r--r-- | src/dad/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dad/CMakeLists.txt b/src/dad/CMakeLists.txt index 3d4b8ea7..ef0a3a1e 100644 --- a/src/dad/CMakeLists.txt +++ b/src/dad/CMakeLists.txt @@ -13,4 +13,9 @@ add_executable (dad ${SOURCE_FILES}) target_link_libraries (dad LINK_PUBLIC ouroboros) +include(MacroAddCompileFlags) +if (CMAKE_BUILD_TYPE MATCHES Debug) + MACRO_ADD_COMPILE_FLAGS(dad -DCONFIG_OUROBOROS_DEBUG) +endif (CMAKE_BUILD_TYPE MATCHES Debug) + install(TARGETS dad RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}) |