Warning, /plasma/khotkeys/kcm_hotkeys/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set( 0002 kcm_hotkeys_PART_SRCS 0003 kcm_hotkeys.cpp 0004 global_settings_widget.cpp 0005 hotkeys_export_widget.cpp 0006 hotkeys_model.cpp 0007 hotkeys_proxy_model.cpp 0008 hotkeys_tree_view.cpp 0009 hotkeys_context_menu.cpp 0010 0011 # HELPER WIDGETS 0012 helper_widgets/window_selector.cpp 0013 helper_widgets/window_definition_widget.cpp 0014 helper_widgets/window_definition_list_widget.cpp 0015 helper_widgets/gesture_drawer.cpp 0016 helper_widgets/gesture_recorder.cpp 0017 helper_widgets/gesture_widget.cpp 0018 helper_widgets/edit_gesture_dialog.cpp 0019 0020 # TRIGGER WIDGETS 0021 triggers/trigger_widget_base.cpp 0022 triggers/shortcut_trigger_widget.cpp 0023 triggers/window_trigger_widget.cpp 0024 triggers/gesture_trigger_widget.cpp 0025 0026 # ACTION WIDGETS 0027 actions/action_widget_base.cpp 0028 actions/command_url_action_widget.cpp 0029 actions/dbus_action_widget.cpp 0030 actions/menuentry_action_widget.cpp 0031 actions/keyboard_input_action_widget.cpp 0032 0033 # CONDITION WiDGETS 0034 conditions/conditions_widget.cpp 0035 conditions/condition_type_menu.cpp 0036 0037 # ACTION_DATA WIDGETS 0038 hotkeys_widget_iface.cpp 0039 hotkeys_widget_base.cpp 0040 action_group_widget.cpp 0041 simple_action_data_widget.cpp 0042 ) 0043 0044 ki18n_wrap_ui(kcm_hotkeys_PART_SRCS 0045 global_settings_widget.ui 0046 hotkeys_export_widget.ui 0047 kcm_hotkeys.ui 0048 0049 # HELPER WIDGETS 0050 helper_widgets/window_definition_list_widget.ui 0051 helper_widgets/window_definition_widget.ui 0052 helper_widgets/gesture_widget.ui 0053 0054 # TRIGGER WIDGETS 0055 triggers/window_trigger_widget.ui 0056 triggers/shortcut_trigger_widget.ui 0057 triggers/gesture_trigger_widget.ui 0058 0059 # ACTION WIDGETS 0060 actions/command_url_action_widget.ui 0061 actions/dbus_action_widget.ui 0062 actions/menuentry_action_widget.ui 0063 actions/keyboard_input_action_widget.ui 0064 0065 # CONDITION WiDGETS 0066 conditions/conditions_widget.ui 0067 0068 # ACTION_DATA WIDGETS 0069 hotkeys_widget_base.ui 0070 ) 0071 0072 qt_add_dbus_interface( 0073 kcm_hotkeys_PART_SRCS 0074 ${CMAKE_CURRENT_BINARY_DIR}/../app/org.kde.khotkeys.xml 0075 khotkeys_interface) 0076 0077 0078 add_library( 0079 kcm_hotkeys 0080 MODULE 0081 ${kcm_hotkeys_PART_SRCS} 0082 ) 0083 add_dependencies(kcm_hotkeys khotkeysdbusinterface) 0084 0085 target_compile_definitions(kcm_hotkeys PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}") 0086 0087 add_dependencies(kcm_hotkeys kded_khotkeys) 0088 0089 target_link_libraries( 0090 kcm_hotkeys 0091 khotkeysprivate 0092 KF5::KCMUtils 0093 KF5::I18n 0094 KF5::KIOCore 0095 KF5::KIOWidgets 0096 KF5::TextWidgets 0097 Qt::Gui 0098 ${X11_X11_LIB} 0099 ) 0100 0101 install( 0102 TARGETS kcm_hotkeys 0103 DESTINATION ${KDE_INSTALL_PLUGINDIR} 0104 ) 0105 0106 install( 0107 FILES khotkeys.desktop 0108 DESTINATION ${KDE_INSTALL_KSERVICES5DIR} 0109 )