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.
 
 
 
 

30 lines
885 B

cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
project(notification-daemon CXX)
include_directories(${PROJECT_SOURCE_DIR}
${PROJECT_SOURCE_DIR}/thirdparty/SQLiteCpp/include/SQLiteCpp
)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/thirdparty/SQLiteCpp)
add_executable(notification-daemon
calendar-daemon.cpp
util/calendar_parsing.cpp
util/notifications.h
io/debug.cpp
ical/Alarm.cpp
ical/Event.cpp
ical/IcalObject.h
db/create.h
db/Schema.cpp
db/db.h
db/migrations/Migration.cpp
db/migrations/builder/TableBuilder.h
db/migrations/builder/Table.h
db/migrations/builder/Table.cpp
db/migrations/1624829187_create_events.h
)
add_definitions(-DLOG_DEBUG)
target_link_libraries(notification-daemon ical boost_system boost_filesystem SQLiteCpp sqlite3 pthread dl)
target_compile_options(notification-daemon PRIVATE -g)