2013-09-04 11:48:06 +02:00
|
|
|
# Project Needs a name, of course
|
|
|
|
project(RunnerExample)
|
|
|
|
|
|
|
|
# We add our source code here
|
|
|
|
set(example_SRCS homefilesrunner.cpp)
|
|
|
|
|
|
|
|
# Now make sure all files get to the right place
|
2013-11-14 17:42:26 +01:00
|
|
|
add_library(plasma_runner_example_homefiles MODULE ${example_SRCS})
|
2013-10-16 01:38:38 +02:00
|
|
|
target_link_libraries(plasma_runner_example_homefiles KF5::Plasma KF5::KIOCore KF5::KIOWidgets)
|
2013-09-04 11:48:06 +02:00
|
|
|
|
|
|
|
# Install the library and .desktop file
|
|
|
|
install(TARGETS plasma_runner_example_homefiles DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-runner-example-homefiles.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|