kde-extraapps/kdevplatform/plugins/testview/CMakeLists.txt
2015-07-26 14:23:17 +03:00

25 lines
748 B
CMake

# add_definitions( -DKDE_DEFAULT_DEBUG_AREA=95xx )
########### next target ###############
set(kdevtestview_PLUGIN_SRCS
testview.cpp
testviewplugin.cpp
testviewdebug.cpp
)
kde4_add_plugin(kdevtestview ${kdevtestview_PLUGIN_SRCS})
target_link_libraries(kdevtestview kdevplatforminterfaces kdevplatformproject kdevplatformutil kdevplatformlanguage)
install(TARGETS kdevtestview DESTINATION ${PLUGIN_INSTALL_DIR} )
########### install files ###############
configure_file(kdevtestview.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdevtestview.desktop)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdevtestview.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES kdevtestview.rc DESTINATION ${DATA_INSTALL_DIR}/kdevtestview )