plasma-framework/examples/kpart/CMakeLists.txt

18 lines
757 B
CMake
Raw Normal View History

2013-09-04 11:48:06 +02:00
set(plasma_example_kpart_shell_SRCS
main.cpp
containmentshell.cpp
testshellpluginloader.cpp
appletselector.cpp
)
qt5_wrap_ui(plasma_example_kpart_shell_SRCS appletselector.ui)
add_executable(plasma-example-kpart-shell ${plasma_example_kpart_shell_SRCS})
2013-09-04 11:48:06 +02:00
2013-12-11 14:01:52 +01:00
target_link_libraries(plasma-example-kpart-shell KF5::Plasma KF5::Parts)
2013-09-04 11:48:06 +02:00
########### install files ###############
install(TARGETS plasma-example-kpart-shell ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} )
install( PROGRAMS plasma-example-kpart-shell.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
2013-09-04 11:48:06 +02:00
install(FILES plasma-default-layoutrc DESTINATION ${DATA_INSTALL_DIR}/plasma-example-kpart-shell/)
install( FILES plasma-kpart-shellui.rc DESTINATION ${DATA_INSTALL_DIR}/plasma-example-kpart-shell/ )