2014-11-15 03:14:34 +02:00
|
|
|
|
|
|
|
add_subdirectory( componentservices )
|
|
|
|
add_subdirectory( windowmanagers )
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(kcm_componentchooser_SRCS
|
|
|
|
componentchooser.cpp
|
|
|
|
componentchooserbrowser.cpp
|
|
|
|
componentchooserfilemanager.cpp
|
|
|
|
componentchooseremail.cpp
|
|
|
|
kcm_componentchooser.cpp
|
|
|
|
)
|
|
|
|
|
2015-09-01 04:37:19 +03:00
|
|
|
set(kcm_componentchooser_SRCS
|
|
|
|
${kcm_componentchooser_SRCS}
|
|
|
|
componentchooserterminal.cpp
|
|
|
|
ktimerdialog.cpp
|
|
|
|
browserconfig_ui.ui
|
|
|
|
filemanagerconfig_ui.ui
|
|
|
|
emailclientconfig_ui.ui
|
|
|
|
componentchooser_ui.ui
|
|
|
|
componentconfig_ui.ui
|
|
|
|
terminalemulatorconfig_ui.ui
|
|
|
|
wmconfig_ui.ui
|
|
|
|
)
|
2014-11-15 03:14:34 +02:00
|
|
|
|
|
|
|
if(Q_WS_X11)
|
|
|
|
set(kcm_componentchooser_SRCS ${kcm_componentchooser_SRCS}
|
|
|
|
componentchooserwm.cpp )
|
|
|
|
endif(Q_WS_X11)
|
|
|
|
|
|
|
|
kde4_add_plugin(kcm_componentchooser ${kcm_componentchooser_SRCS})
|
|
|
|
|
2015-09-01 04:37:19 +03:00
|
|
|
target_link_libraries(kcm_componentchooser ${KDE4_KIO_LIBS})
|
2014-11-15 03:14:34 +02:00
|
|
|
|
2015-09-01 04:37:19 +03:00
|
|
|
install(TARGETS kcm_componentchooser DESTINATION ${PLUGIN_INSTALL_DIR} )
|
2014-11-15 03:14:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
2015-09-01 04:37:19 +03:00
|
|
|
install(FILES componentchooser.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
2014-11-15 03:14:34 +02:00
|
|
|
|