Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
1 | 1 | | |||
---|---|---|---|---|---|
2 | ########### next target ############### | 2 | ########### next target ############### | ||
3 | 3 | | |||
4 | bison_target(VersitParser | | |||
5 | ${CMAKE_CURRENT_SOURCE_DIR}/versit/vcc.y | | |||
6 | ${CMAKE_CURRENT_BINARY_DIR}/vcc-parser.c | | |||
7 | ) | | |||
8 | set_property(SOURCE ${CMAKE_CURRENT_BINARY_DIR}/vcc-parser.h PROPERTY SKIP_AUTOMOC TRUE) # don't run automoc on this file | | |||
9 | | ||||
10 | set(libversit_SRCS | | |||
11 | ${CMAKE_CURRENT_SOURCE_DIR}/versit/vobject.c | | |||
12 | ${BISON_VersitParser_OUTPUTS} | | |||
13 | ) | | |||
14 | | ||||
15 | set(kcalcore_LIB_SRCS | 4 | set(kcalcore_LIB_SRCS | ||
16 | ${libversit_SRCS} | | |||
17 | alarm.cpp | 5 | alarm.cpp | ||
18 | attachment.cpp | 6 | attachment.cpp | ||
19 | attendee.cpp | 7 | attendee.cpp | ||
20 | calendar.cpp | 8 | calendar.cpp | ||
21 | calfilter.cpp | 9 | calfilter.cpp | ||
22 | calformat.cpp | 10 | calformat.cpp | ||
23 | calstorage.cpp | 11 | calstorage.cpp | ||
24 | compat.cpp | 12 | compat.cpp | ||
Show All 28 Lines | |||||
53 | 41 | | |||
54 | add_library(KF5CalendarCore ${kcalcore_LIB_SRCS}) | 42 | add_library(KF5CalendarCore ${kcalcore_LIB_SRCS}) | ||
55 | 43 | | |||
56 | generate_export_header(KF5CalendarCore BASE_NAME kcalcore) | 44 | generate_export_header(KF5CalendarCore BASE_NAME kcalcore) | ||
57 | 45 | | |||
58 | add_library(KF5::CalendarCore ALIAS KF5CalendarCore) | 46 | add_library(KF5::CalendarCore ALIAS KF5CalendarCore) | ||
59 | 47 | | |||
60 | target_include_directories(KF5CalendarCore INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KCalCore>") | 48 | target_include_directories(KF5CalendarCore INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KCalCore>") | ||
61 | target_include_directories(KF5CalendarCore PUBLIC "$<BUILD_INTERFACE:${KCalCore_SOURCE_DIR}/src;${KCalCore_BINARY_DIR}/src;${KCalCore_SOURCE_DIR}/src/versit>") | 49 | target_include_directories(KF5CalendarCore PUBLIC "$<BUILD_INTERFACE:${KCalCore_SOURCE_DIR}/src;${KCalCore_BINARY_DIR}/src>") | ||
62 | 50 | | |||
63 | target_link_libraries(KF5CalendarCore | 51 | target_link_libraries(KF5CalendarCore | ||
64 | PUBLIC | 52 | PUBLIC | ||
65 | Qt5::Core | 53 | Qt5::Core | ||
66 | PRIVATE | 54 | PRIVATE | ||
67 | Qt5::Gui | 55 | Qt5::Gui | ||
68 | LibIcal | 56 | LibIcal | ||
69 | ) | 57 | ) | ||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |