CMakeLists.txt 591 Bytes
Newer Older
1
add_library(kterustcompletionplugin MODULE "")
2
target_compile_definitions(kterustcompletionplugin PRIVATE TRANSLATION_DOMAIN="kterustcompletion")
3
target_link_libraries(kterustcompletionplugin PRIVATE KF5::TextEditor)
Christoph Cullmann's avatar
Christoph Cullmann committed
4

5 6 7 8 9 10 11 12
target_sources(
  kterustcompletionplugin 
  PRIVATE
    kterustcompletion.cpp
    kterustcompletionconfigpage.cpp
    kterustcompletionplugin.cpp
    kterustcompletionpluginview.cpp
    plugin.qrc
13 14
)

15
kcoreaddons_desktop_to_json(kterustcompletionplugin kterustcompletionplugin.desktop)
16
install(TARGETS kterustcompletionplugin DESTINATION ${PLUGIN_INSTALL_DIR}/ktexteditor)