Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/chart/CMakeLists.txt
1 | include_directories( | | |||
---|---|---|---|---|---|
2 | ${KOREPORT_INCLUDES} | | |||
3 | ) | | |||
4 | | ||||
5 | ecm_create_qm_loader(koreport_chartplugin_QM_LOADER kreport_chartplugin_qt) | 1 | ecm_create_qm_loader(koreport_chartplugin_QM_LOADER kreport_chartplugin_qt) | ||
6 | 2 | | |||
7 | #build a shared library | | |||
8 | set(koreport_chartplugin_LIB_SRCS | 3 | set(koreport_chartplugin_LIB_SRCS | ||
9 | ${PROJECT_SOURCE_DIR}/src/common/kreportplugin_debug.cpp | 4 | ${PROJECT_SOURCE_DIR}/src/common/kreportplugin_debug.cpp | ||
10 | KoReportItemChart.cpp | 5 | KoReportItemChart.cpp | ||
11 | KoReportDesignerItemChart.cpp | 6 | KoReportDesignerItemChart.cpp | ||
12 | krscriptchart.cpp | 7 | krscriptchart.cpp | ||
13 | KoReportChartPlugin.cpp | 8 | KoReportChartPlugin.cpp | ||
14 | ${koreport_chartplugin_QM_LOADER} | 9 | ${koreport_chartplugin_QM_LOADER} | ||
15 | ) | 10 | ) | ||
16 | 11 | | |||
17 | add_library(koreport_chartplugin MODULE ${koreport_chartplugin_LIB_SRCS}) | 12 | add_library(koreport_chartplugin MODULE ${koreport_chartplugin_LIB_SRCS}) | ||
18 | 13 | | |||
19 | target_link_libraries(koreport_chartplugin | 14 | target_link_libraries(koreport_chartplugin | ||
20 | ${KOREPORT_LIBS} | 15 | ${KOREPORT_LIBS} | ||
21 | KChart | 16 | KChart | ||
22 | KProperty | 17 | KProperty | ||
23 | ) | 18 | ) | ||
24 | 19 | | |||
25 | install(TARGETS koreport_chartplugin DESTINATION ${PLUGIN_INSTALL_DIR}) | 20 | install(TARGETS koreport_chartplugin DESTINATION ${PLUGIN_INSTALL_DIR}) | ||
26 | 21 | | |||
27 | 22 | add_subdirectory(pics) | |||
28 | ########### install files ############### | | |||
29 | | ||||
30 | install( FILES koreport_chartplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/calligra) | |