Commit 6a55e22a authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

try static library

parent b06c3f85
Pipeline #141904 passed with stage
in 4 minutes and 41 seconds
......@@ -4,9 +4,7 @@ target_compile_definitions(lspclientplugin PRIVATE TRANSLATION_DOMAIN="lspclient
target_link_libraries(
lspclientplugin
PRIVATE
$<TARGET_OBJECTS:kateshared>
KF5::I18n
KF5::TextEditor
kateshared
)
include(ECMQtDeclareLoggingCategory)
......@@ -39,12 +37,6 @@ target_sources(
plugin.qrc
)
target_include_directories(
lspclientplugin
PUBLIC
${CMAKE_SOURCE_DIR}/shared
)
if(BUILD_TESTING)
add_subdirectory(tests)
endif()
......@@ -18,20 +18,14 @@ kate_add_plugin(kateprojectplugin)
target_compile_definitions(kateprojectplugin PRIVATE TRANSLATION_DOMAIN="kateproject")
target_link_libraries(
kateprojectplugin
PRIVATE
$<TARGET_OBJECTS:kateshared>
Qt5::Concurrent
KF5::GuiAddons
KF5::I18n
KF5::NewStuff
KF5::TextEditor
)
target_include_directories(
kateprojectplugin
PUBLIC
${CMAKE_SOURCE_DIR}/shared
PRIVATE
kateshared
Qt5::Concurrent
KF5::GuiAddons
KF5::I18n
KF5::NewStuff
KF5::TextEditor
)
include(CheckFunctionExists)
......
add_library(kateshared OBJECT
add_library(kateshared STATIC
quickdialog.cpp
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment