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.

23 lines
668 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. io/debug.cpp
  15. )
  16. add_definitions(-DLOG_DEBUG)
  17. target_link_libraries(notification-daemon ical boost_system boost_filesystem SQLiteCpp sqlite3 pthread dl)
  18. target_compile_options(notification-daemon PRIVATE -g)