Browse Source

updated cmake

main
Stefan Pranger 3 years ago
parent
commit
09c4fcb2b6
  1. 8
      CMakeLists.txt

8
CMakeLists.txt

@ -18,12 +18,16 @@ add_executable(notification-daemon
ical/Event.cpp ical/Event.cpp
ical/IcalObject.cpp ical/IcalObject.cpp
db/create.h db/create.h
db/update.h
db/fetch_alarms.h
db/update.cpp
db/Schema.cpp db/Schema.cpp
db/db.cpp db/db.cpp
db/FSWatcher.cpp
db/migrations/Migration.cpp db/migrations/Migration.cpp
db/migrations/builder/Table.cpp db/migrations/builder/Table.cpp
db/statements/builder/Statement.cpp db/statements/builder/Statement.cpp
db/statements/builder/SelectStatementBuilder.cpp
db/statements/builder/InsertStatementBuilder.cpp
) )
set(CMAKE_VERBOSE_MAKEFILE off) set(CMAKE_VERBOSE_MAKEFILE off)
@ -32,5 +36,5 @@ get_directory_property( DirDefs DIRECTORY ${CMAKE_SOURCE_DIR} COMPILE_DEFINITION
foreach( d ${DirDefs} ) foreach( d ${DirDefs} )
message( STATUS "Found Define: " ${d} ) message( STATUS "Found Define: " ${d} )
endforeach() endforeach()
target_link_libraries(notification-daemon ical boost_system boost_filesystem SQLiteCpp sqlite3 pthread dl)
target_link_libraries(notification-daemon ical boost_system boost_filesystem SQLiteCpp sqlite3 pthread dl inotify-cpp)
target_compile_options(notification-daemon PRIVATE -g) target_compile_options(notification-daemon PRIVATE -g)
Loading…
Cancel
Save