kde-workspace/solid-actions-kcm/CMakeLists.txt

38 lines
1.2 KiB
Text
Raw Normal View History

2014-11-13 19:30:51 +02:00
PROJECT (solid-actions)
ADD_SUBDIRECTORY(device-actions)
########### next target ###############
SET(kcm_solid_actions_srcs
PredicateItem.cpp
PredicateModel.cpp
ActionItem.cpp
ActionModel.cpp
ActionEditor.cpp
SolidActionData.cpp
2015-09-01 04:37:19 +03:00
SolidActions.cpp
SolidActions.ui
AddAction.ui
ActionEditor.ui
)
2014-11-13 19:30:51 +02:00
SET(solid_action_desktop_gen_srcs
DesktopFileGenerator.cpp
SolidActionData.cpp )
KDE4_ADD_PLUGIN(kcm_solid_actions ${kcm_solid_actions_srcs})
2015-09-01 04:37:19 +03:00
add_executable(solid-action-desktop-gen ${solid_action_desktop_gen_srcs})
2014-11-13 19:30:51 +02:00
TARGET_LINK_LIBRARIES(kcm_solid_actions ${KDE4_KIO_LIBS} ${KDE4_SOLID_LIBS} )
TARGET_LINK_LIBRARIES(solid-action-desktop-gen ${KDE4_SOLID_LIBS} ${KDE4_KIO_LIBS} )
########### install files ###############
INSTALL( TARGETS kcm_solid_actions DESTINATION ${KDE4_PLUGIN_INSTALL_DIR} )
2014-11-13 19:30:51 +02:00
INSTALL( TARGETS solid-action-desktop-gen ${INSTALL_TARGETS_DEFAULT_ARGS} )
INSTALL( FILES solid-actions.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR} )
INSTALL( FILES solid-action-template.desktop DESTINATION ${KDE4_DATA_INSTALL_DIR}/kcmsolidactions )
INSTALL( FILES solid-device-type.desktop DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR} )
2014-11-13 19:30:51 +02:00