Warning, /utilities/kate/addons/lspclient/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 kate_add_plugin(lspclientplugin)
0002 target_compile_definitions(lspclientplugin PRIVATE TRANSLATION_DOMAIN="lspclient")
0003
0004 target_link_libraries(
0005 lspclientplugin
0006 PRIVATE
0007 kateprivate
0008 )
0009
0010 include(ECMQtDeclareLoggingCategory)
0011 ecm_qt_declare_logging_category(
0012 DEBUG_SOURCES
0013 HEADER lspclient_debug.h
0014 IDENTIFIER LSPCLIENT
0015 CATEGORY_NAME "katelspclientplugin"
0016 )
0017 target_sources(lspclientplugin PRIVATE ${DEBUG_SOURCES})
0018
0019 ki18n_wrap_ui(lspclientplugin lspconfigwidget.ui)
0020 target_sources(
0021 lspclientplugin
0022 PRIVATE
0023 lspclientcompletion.cpp
0024 lspclientconfigpage.cpp
0025 lspclienthover.cpp
0026 lspclientplugin.cpp
0027 lspclientpluginview.cpp
0028 lspclientserver.cpp
0029 lspclientservermanager.cpp
0030 lspclientsymbolview.cpp
0031 lspclientutils.cpp
0032 lspsemantichighlighting.cpp
0033 semantic_tokens_legend.cpp
0034 gotosymboldialog.cpp
0035 inlayhints.cpp
0036
0037 plugin.qrc
0038 )
0039
0040 if (BUILD_PCH)
0041 target_precompile_headers(lspclientplugin REUSE_FROM katepch)
0042 endif()
0043
0044 set(RAPIDJSON_INCLUDES ${CMAKE_CURRENT_LIST_DIR}/rapidjson/include)
0045 target_include_directories(lspclientplugin SYSTEM PUBLIC ${RAPIDJSON_INCLUDES})
0046
0047 if(BUILD_TESTING)
0048 add_subdirectory(tests)
0049 endif()