kde-extraapps/kdevelop/formatters/customscript/CMakeLists.txt
2015-07-26 14:23:17 +03:00

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} )