mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-26 11:52:54 +00:00
18 lines
644 B
CMake
18 lines
644 B
CMake
########### indent ###############
|
|
set(kdevcustomscript_PART_SRCS
|
|
customscript_plugin.cpp
|
|
)
|
|
|
|
kde4_add_plugin(kdevcustomscript ${kdevcustomscript_PART_SRCS})
|
|
target_link_libraries(kdevcustomscript
|
|
${KDE4_KDECORE_LIBS}
|
|
${KDE4_KDEUI_LIBS}
|
|
${KDEVPLATFORM_INTERFACES_LIBRARIES}
|
|
${KDEVPLATFORM_UTIL_LIBRARIES})
|
|
|
|
install(TARGETS kdevcustomscript DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
########### install files ###############
|
|
|
|
configure_file(kdevcustomscript.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdevcustomscript.desktop)
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdevcustomscript.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|