You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
882 B

  1. cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
  2. project(notification-daemon CXX)
  3. include_directories(${PROJECT_SOURCE_DIR}
  4. ${PROJECT_SOURCE_DIR}/thirdparty/SQLiteCpp/include/SQLiteCpp
  5. )
  6. add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/thirdparty/SQLiteCpp)
  7. add_executable(notification-daemon
  8. calendar-daemon.cpp
  9. util/calendar_parsing.cpp
  10. util/notifications.h
  11. ical/Alarm.cpp
  12. ical/Event.cpp
  13. ical/IcalObject.h
  14. db/schema.h
  15. db/create.h
  16. db/db.h
  17. db/schema.h
  18. db/migrations/Migration.h
  19. db/migrations/builder/TableBuilder.h
  20. db/migrations/builder/Table.h
  21. db/migrations/builder/Table.cpp
  22. io/debug.cpp
  23. 1624829187_create_events.h
  24. )
  25. add_definitions(-DLOG_DEBUG)
  26. target_link_libraries(notification-daemon ical boost_system boost_filesystem SQLiteCpp sqlite3 pthread dl)
  27. target_compile_options(notification-daemon PRIVATE -g)