not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / plasma / scriptengines / qedjescript / CMakeLists.txt
blob8e5486ac70be7e85eb869dda237e7233544817f3
1 # Project's name
2 project(plasma-qedje-script)
4 include_directories(${QEDJE_INCLUDE_DIRS})
6 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
8 # We add our source code here
9 set(package_SRCS qedje_package.cpp)
10 set(qedjescript_SRCS qedje_applet.cpp)
11 kde4_add_ui_files(qedjescript_SRCS qedjeConfig.ui)
13 # Now make sure all files get to the right place
14 kde4_add_plugin(plasma_appletscript_qedje ${qedjescript_SRCS})
15 target_link_libraries(plasma_appletscript_qedje
16   plasma ${KDE4_KDEUI_LIBS} ${QEDJE_LIBRARIES})
19 kde4_add_plugin(plasma_package_qedje ${package_SRCS})
20 target_link_libraries(plasma_package_qedje
21   plasma ${QEDJE_LIBRARIES} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
24 install(TARGETS plasma_appletscript_qedje
25   DESTINATION ${PLUGIN_INSTALL_DIR})
27 install(TARGETS plasma_package_qedje
28   DESTINATION ${PLUGIN_INSTALL_DIR})
30 install(FILES plasma-appletscript-qedje.desktop
31   DESTINATION ${SERVICES_INSTALL_DIR})
33 install(FILES plasma-packagestructure-qedje.desktop
34   DESTINATION ${SERVICES_INSTALL_DIR})