mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-26 20:03:10 +00:00
35 lines
962 B
Text
35 lines
962 B
Text
![]() |
project(codeutils)
|
||
|
|
||
|
########### install target ###############
|
||
|
|
||
|
set(kdevcodeutils_PART_SRCS
|
||
|
codeutilsplugin.cpp
|
||
|
)
|
||
|
|
||
|
include_directories(CMAKE_CURRENT_BINARY_DIR)
|
||
|
|
||
|
kde4_add_plugin(kdevcodeutils ${kdevcodeutils_PART_SRCS})
|
||
|
|
||
|
target_link_libraries(kdevcodeutils
|
||
|
${KDE4_KDECORE_LIBS}
|
||
|
${KDE4_KDEUI_LIBS}
|
||
|
${KDE4_KPARTS_LIBS}
|
||
|
${KDE4_KTEXTEDITOR_LIBS}
|
||
|
${KDEVPLATFORM_INTERFACES_LIBRARIES}
|
||
|
${KDEVPLATFORM_PROJECT_LIBRARIES}
|
||
|
${KDEVPLATFORM_UTIL_LIBRARIES}
|
||
|
${KDEVPLATFORM_LANGUAGE_LIBRARIES}
|
||
|
)
|
||
|
|
||
|
add_subdirectory(doc_templates)
|
||
|
add_subdirectory(tests)
|
||
|
|
||
|
install(TARGETS kdevcodeutils DESTINATION ${PLUGIN_INSTALL_DIR} )
|
||
|
|
||
|
|
||
|
########### install files ###############
|
||
|
|
||
|
configure_file(kdevcodeutils.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdevcodeutils.desktop)
|
||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdevcodeutils.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||
|
install( FILES kdevcodeutils.rc DESTINATION ${DATA_INSTALL_DIR}/kdevcodeutils )
|