Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/forecast/CMakeLists.txt
- This file was added.
1 | configure_file(${CMAKE_CURRENT_SOURCE_DIR}/forecastview.json.in ${CMAKE_CURRENT_BINARY_DIR}/forecastview.json @ONLY) | ||||
---|---|---|---|---|---|
2 | | ||||
3 | set(forecastview_SOURCES | ||||
4 | forecastview.cpp | ||||
5 | kforecastview.cpp | ||||
6 | fixedcolumntreeview.cpp | ||||
7 | ) | ||||
8 | | ||||
9 | ki18n_wrap_ui(forecastview_SOURCES kforecastview.ui) | ||||
10 | kconfig_add_kcfg_files(forecastview_SOURCES forecastviewsettings.kcfgc) | ||||
11 | | ||||
12 | add_library(forecastview MODULE ${forecastview_SOURCES} ) | ||||
13 | | ||||
14 | target_link_libraries(forecastview | ||||
15 | PUBLIC | ||||
16 | kmm_plugin | ||||
17 | KF5::TextWidgets | ||||
18 | reports | ||||
19 | viewbase | ||||
20 | ) | ||||
21 | | ||||
22 | install(TARGETS forecastview | ||||
23 | DESTINATION "${KDE_INSTALL_PLUGINDIR}/kmymoney") | ||||
24 | | ||||
25 | # the KCM module | ||||
26 | | ||||
27 | set(kcm_forecastview_PART_SRCS | ||||
28 | kcm_forecastview.cpp | ||||
29 | ) | ||||
30 | | ||||
31 | kconfig_add_kcfg_files(kcm_forecastview_PART_SRCS forecastviewsettings.kcfgc) | ||||
32 | | ||||
33 | ki18n_wrap_ui(kcm_forecastview_PART_SRCS forecastviewsettings.ui) | ||||
34 | | ||||
35 | add_library(kcm_forecastview MODULE ${kcm_forecastview_PART_SRCS}) | ||||
36 | | ||||
37 | kcoreaddons_desktop_to_json(kcm_forecastview kcm_forecastview.desktop) | ||||
38 | | ||||
39 | target_link_libraries(kcm_forecastview | ||||
40 | KF5::I18n | ||||
41 | KF5::ConfigWidgets | ||||
42 | KF5::Completion | ||||
43 | KF5::KIOWidgets | ||||
44 | KF5::CoreAddons | ||||
45 | ) | ||||
46 | | ||||
47 | install(TARGETS kcm_forecastview | ||||
48 | DESTINATION "${KDE_INSTALL_PLUGINDIR}/kmymoney") | ||||
49 | | ||||
50 | install(FILES kcm_forecastview.desktop | ||||
51 | DESTINATION "${SERVICES_INSTALL_DIR}") |