From c1683a42f4da76dc4e37a7ccb0fb9e9c8594e3d0 Mon Sep 17 00:00:00 2001 From: Stefan Pranger Date: Tue, 29 Jun 2021 12:56:15 +0200 Subject: [PATCH] added printout for defines in cmake --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8552beb..0228d66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,12 @@ add_executable(notification-daemon db/migrations/builder/Table.cpp db/statements/builder/Statement.cpp ) -add_definitions(-DLOG_DEBUG) +set(CMAKE_VERBOSE_MAKEFILE off) +add_definitions(-DLOG_DEBUG) +get_directory_property( DirDefs DIRECTORY ${CMAKE_SOURCE_DIR} COMPILE_DEFINITIONS ) +foreach( d ${DirDefs} ) + message( STATUS "Found Define: " ${d} ) +endforeach() target_link_libraries(notification-daemon ical boost_system boost_filesystem SQLiteCpp sqlite3 pthread dl) target_compile_options(notification-daemon PRIVATE -g)