Changeset View
Changeset View
Standalone View
Standalone View
kcms/cursortheme/CMakeLists.txt
1 | # KI18N Translation Domain for this library | 1 | # KI18N Translation Domain for this library | ||
---|---|---|---|---|---|
2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_cursortheme\") | 2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_cursortheme\") | ||
3 | 3 | | |||
4 | include_directories( ${LIBUSB_INCLUDE_DIR} ) | 4 | include_directories( ${LIBUSB_INCLUDE_DIR} ) | ||
5 | 5 | | |||
6 | | ||||
7 | set( libnoinst_SRCS | 6 | set( libnoinst_SRCS | ||
8 | xcursor/thememodel.cpp | 7 | xcursor/thememodel.cpp | ||
9 | xcursor/cursortheme.cpp | 8 | xcursor/cursortheme.cpp | ||
10 | xcursor/xcursortheme.cpp | 9 | xcursor/xcursortheme.cpp | ||
11 | xcursor/previewwidget.cpp | 10 | xcursor/previewwidget.cpp | ||
12 | xcursor/sortproxymodel.cpp | 11 | xcursor/sortproxymodel.cpp | ||
13 | ../krdb/krdb.cpp ) | 12 | ../krdb/krdb.cpp ) | ||
14 | include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/xcursor/ ) | 13 | include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/xcursor/ ) | ||
15 | 14 | | |||
16 | 15 | | |||
17 | set(klauncher_xml ${KINIT_DBUS_INTERFACES_DIR}/kf5_org.kde.KLauncher.xml) | 16 | set(klauncher_xml ${KINIT_DBUS_INTERFACES_DIR}/kf5_org.kde.KLauncher.xml) | ||
18 | qt5_add_dbus_interface(libnoinst_SRCS ${klauncher_xml} klauncher_iface) | 17 | qt5_add_dbus_interface(libnoinst_SRCS ${klauncher_xml} klauncher_iface) | ||
19 | 18 | | |||
20 | ########### next target ############### | 19 | ########### next target ############### | ||
21 | 20 | | |||
22 | set(kcm_cursortheme_PART_SRCS kcmcursortheme.cpp ${libnoinst_SRCS}) | 21 | set(kcm_cursortheme_PART_SRCS kcmcursortheme.cpp ${libnoinst_SRCS}) | ||
23 | 22 | kconfig_add_kcfg_files(kcm_cursortheme_PART_SRCS cursorthemesettings.kcfgc GENERATE_MOC) | |||
davidedmundson: Can you also add
```
install(FILES kded/touchpaddaemon.kcfg
DESTINATION… | |||||
bport: Ok I will add it | |||||
ervin: Interestingly you didn't request that on my desktoptheme work. | |||||
24 | add_library(kcm_cursortheme MODULE ${kcm_cursortheme_PART_SRCS}) | 23 | add_library(kcm_cursortheme MODULE ${kcm_cursortheme_PART_SRCS}) | ||
25 | 24 | | |||
Could that be moved in the install file section of the file? Everything related to file installs (but not target installs...) seems to be at the end of that file. ervin: Could that be moved in the install file section of the file? Everything related to file… | |||||
26 | 25 | | |||
27 | target_link_libraries(kcm_cursortheme | 26 | target_link_libraries(kcm_cursortheme | ||
28 | Qt5::DBus | 27 | Qt5::DBus | ||
29 | Qt5::X11Extras | 28 | Qt5::X11Extras | ||
30 | Qt5::Quick | 29 | Qt5::Quick | ||
31 | KF5::Archive | 30 | KF5::Archive | ||
32 | KF5::KCMUtils | 31 | KF5::KCMUtils | ||
33 | KF5::I18n | 32 | KF5::I18n | ||
Show All 29 Lines |
Can you also add
This doesn't explicitly do anything useful, but it allows future metadata extraction for documentation purposes.