cmake_minimum_required(VERSION 2.8 FATAL_ERROR) project(notification-daemon CXX) # get all *.cpp files recursively #file(GLOB_RECURSE SRC_FILES ${PROJECT_SOURCE_DIR}/*.cpp) #file(GLOB_RECURSE HEADER_FILES ${PROJECT_SOURCE_DIR}/*.h) include_directories(${PROJECT_SOURCE_DIR}) #add_executable(notification-daemon ${SRC_FILES} ${HEADER_FILES}) add_executable(notification-daemon calendar-daemon util/calendar_parsing.cpp util/notifications.h ical/Alarm.cpp ical/Event.cpp ical/IcalObject.h io/debug.cpp ) add_definitions(-DLOG_DEBUG) target_link_libraries(notification-daemon ical boost_system boost_filesystem) target_compile_options(notification-daemon PRIVATE -g)