Warning, /plasma/khotkeys/libkhotkeysprivate/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # KHotKey convenience library. Contains
0002 # - Actions
0003 # - Trigger
0004 # - Conditions
0005 # - Some gui stuff
0006 
0007 set(khotkeysprivate_SRCS
0008 
0009     # ACTIONS
0010     actions/action.cpp
0011     actions/action_list.cpp
0012     actions/activate_window_action.cpp
0013     actions/command_url_action.cpp
0014     actions/dbus_action.cpp
0015     actions/keyboard_input_action.cpp
0016     actions/menuentry_action.cpp
0017 
0018     # ACTION DATA
0019     action_data/action_data.cpp
0020     action_data/action_data_base.cpp
0021     action_data/action_data_group.cpp
0022     action_data/generic_action_data.cpp
0023     action_data/menuentry_shortcut_action_data.cpp
0024     action_data/simple_action_data.cpp
0025 
0026     action_data/action_data_visitor.cpp
0027 
0028     # CONDITIONS
0029     conditions/active_window_condition.cpp
0030     conditions/and_condition.cpp
0031     conditions/condition.cpp
0032     conditions/conditions_list_base.cpp
0033     conditions/conditions_list.cpp
0034     conditions/existing_window_condition.cpp
0035     conditions/not_condition.cpp
0036     conditions/or_condition.cpp
0037     conditions/conditions_visitor.cpp
0038 
0039     # TRIGGERS
0040     triggers/gestures.cpp
0041     triggers/gesture_trigger.cpp
0042     triggers/shortcut_trigger.cpp
0043     triggers/trigger.cpp
0044     triggers/trigger_list.cpp
0045     triggers/triggers.cpp
0046     triggers/window_trigger.cpp
0047 
0048     # WINDOWS_HELPER
0049     windows_helper/window_selection_rules.cpp
0050     windows_helper/window_selection_list.cpp
0051     windows_helper/window_selection_interface.cpp
0052 
0053     # DAEMON
0054     daemon/daemon.h
0055     daemon/daemon.cpp
0056 
0057     # OTHER
0058     khotkeysglobal.cpp
0059     settings.cpp
0060     settings_reader_v2.cpp
0061     settings_writer.cpp
0062     shortcuts_handler.cpp
0063     windows_handler.cpp
0064 )
0065 
0066 add_library(khotkeysprivate SHARED ${khotkeysprivate_SRCS})
0067 # Not exported, so just make all links PUBLIC
0068 target_link_libraries(khotkeysprivate PUBLIC
0069     PW::KWorkspace
0070     Qt::X11Extras
0071     KF5::GlobalAccel
0072     KF5::I18n
0073     KF5::KIOCore
0074     KF5::KIOWidgets
0075     KF5::XmlGui
0076     KF5::Service
0077     KF5::KDELibs4Support
0078     ${X11_X11_LIB})
0079 if(X11_XTest_FOUND)
0080     target_link_libraries(khotkeysprivate PUBLIC ${X11_XTest_LIB})
0081 endif()
0082 set_target_properties(khotkeysprivate PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
0083 install(TARGETS khotkeysprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)