Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwinrules/CMakeLists.txt
1 | # KI18N Translation Domain for this library | 1 | # KI18N Translation Domain for this library | ||
---|---|---|---|---|---|
2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwinrules\") | 2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwinrules\") | ||
3 | add_definitions(-DKCMRULES) | 3 | add_definitions(-DKCMRULES) | ||
4 | ########### next target ############### | 4 | ########### next target ############### | ||
5 | 5 | | |||
6 | include_directories(../../) | 6 | include_directories(../../) | ||
7 | set(kwinrules_MOC_HDRS yesnobox.h ../../cursor.h ../../plugins/platforms/x11/standalone/x11cursor.h) | 7 | set(kwinrules_MOC_HDRS yesnobox.h ../../cursor.h ../../plugins/platforms/x11/standalone/x11cursor.h) | ||
8 | qt5_wrap_cpp(kwinrules_MOC_SRCS ${kwinrules_MOC_HDRS}) | 8 | qt5_wrap_cpp(kwinrules_MOC_SRCS ${kwinrules_MOC_HDRS}) | ||
9 | set(kwinrules_SRCS ruleswidget.cpp ruleslist.cpp kwinsrc.cpp detectwidget.cpp main.cpp ${kwinrules_MOC_SRCS}) | 9 | set(kwinrules_SRCS ../../rulebooksettings.cpp ruleswidget.cpp ruleslist.cpp kwinsrc.cpp detectwidget.cpp main.cpp ${kwinrules_MOC_SRCS}) | ||
10 | 10 | | |||
11 | ki18n_wrap_ui(kwinrules_SRCS ruleslist.ui detectwidget.ui editshortcut.ui ruleswidgetbase.ui) | 11 | ki18n_wrap_ui(kwinrules_SRCS ruleslist.ui detectwidget.ui editshortcut.ui ruleswidgetbase.ui) | ||
12 | 12 | | |||
13 | kconfig_add_kcfg_files(kwinrules_SRCS ../../rulesettings.kcfgc) | ||||
14 | kconfig_add_kcfg_files(kwinrules_SRCS ../../rulebooksettingsbase.kcfgc) | ||||
15 | | ||||
13 | add_executable(kwin_rules_dialog ${kwinrules_SRCS}) | 16 | add_executable(kwin_rules_dialog ${kwinrules_SRCS}) | ||
14 | 17 | | |||
15 | set(kwin_kcm_rules_XCB_LIBS | 18 | set(kwin_kcm_rules_XCB_LIBS | ||
16 | XCB::CURSOR | 19 | XCB::CURSOR | ||
17 | XCB::XCB | 20 | XCB::XCB | ||
18 | XCB::XFIXES | 21 | XCB::XFIXES | ||
19 | ) | 22 | ) | ||
20 | 23 | | |||
Show All 33 Lines |