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.

19 lines
680 B

  1. cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
  2. project(notification-daemon CXX)
  3. # get all *.cpp files recursively
  4. #file(GLOB_RECURSE SRC_FILES ${PROJECT_SOURCE_DIR}/*.cpp)
  5. #file(GLOB_RECURSE HEADER_FILES ${PROJECT_SOURCE_DIR}/*.h)
  6. include_directories(${PROJECT_SOURCE_DIR})
  7. #add_executable(notification-daemon ${SRC_FILES} ${HEADER_FILES})
  8. add_executable(notification-daemon
  9. calendar-daemon
  10. util/calendar_parsing.cpp
  11. util/notifications.h
  12. ical/Alarm.cpp
  13. ical/Event.cpp
  14. ical/IcalObject.h
  15. io/debug.cpp
  16. )
  17. add_definitions(-DLOG_DEBUG)
  18. target_link_libraries(notification-daemon ical boost_system boost_filesystem)
  19. target_compile_options(notification-daemon PRIVATE -g)