Browse Source

added printout for defines in cmake

main
Stefan Pranger 3 years ago
parent
commit
c1683a42f4
  1. 7
      CMakeLists.txt

7
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)
Loading…
Cancel
Save