Commit d3eb5387 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

prepare for plugin loading pre-installation

ensure all plugins are installed into the proper
sub directories for ecm unit test env settings
parent 3512583c
......@@ -15,6 +15,9 @@ target_sources(
)
kcoreaddons_desktop_to_json(katebacktracebrowserplugin katebacktracebrowserplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(katebacktracebrowserplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS katebacktracebrowserplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
if(BUILD_TESTING)
......
......@@ -19,4 +19,7 @@ target_sources(
)
kcoreaddons_desktop_to_json(katecloseexceptplugin katecloseexceptplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(katecloseexceptplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS katecloseexceptplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -10,4 +10,7 @@ target_sources(
)
kcoreaddons_desktop_to_json(katecolorpickerplugin katecolorpickerplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(katecolorpickerplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS katecolorpickerplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -38,6 +38,9 @@ target_sources(
)
kcoreaddons_desktop_to_json (externaltoolsplugin externaltoolsplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(externaltoolsplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS externaltoolsplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor )
if (BUILD_TESTING)
......
......@@ -26,4 +26,7 @@ target_sources(
)
kcoreaddons_desktop_to_json(katefilebrowserplugin katefilebrowserplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(katefilebrowserplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS katefilebrowserplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -28,6 +28,9 @@ target_sources(
)
kcoreaddons_desktop_to_json(katefiletreeplugin katefiletreeplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(katefiletreeplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS katefiletreeplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
if(BUILD_TESTING)
......
......@@ -23,4 +23,7 @@ target_sources(
)
kcoreaddons_desktop_to_json(kategdbplugin kategdbplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(kategdbplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS kategdbplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -11,4 +11,7 @@ target_sources(
)
kcoreaddons_desktop_to_json(kategitblameplugin kategitblameplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(kategitblameplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS kategitblameplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -30,4 +30,7 @@ target_sources(
)
kcoreaddons_desktop_to_json(katectagsplugin katectagsplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(katectagsplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS katectagsplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -18,4 +18,7 @@ target_sources(
)
kcoreaddons_desktop_to_json (katebuildplugin katebuildplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(katebuildplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS katebuildplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -42,4 +42,7 @@ target_sources(
)
kcoreaddons_desktop_to_json(katesqlplugin katesql.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(katesqlplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS katesqlplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -14,4 +14,7 @@ target_sources(
)
kcoreaddons_desktop_to_json(katekonsoleplugin katekonsoleplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(katekonsoleplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS katekonsoleplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -54,6 +54,9 @@ target_include_directories(
)
kcoreaddons_desktop_to_json(lspclientplugin lspclientplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(lspclientplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS lspclientplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
if(BUILD_TESTING)
......
......@@ -10,4 +10,7 @@ target_sources(
)
kcoreaddons_desktop_to_json(kateopenheaderplugin kateopenheaderplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(kateopenheaderplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS kateopenheaderplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -20,4 +20,6 @@ target_sources(
kpartview.cpp
)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(ktexteditorpreviewplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS ktexteditorpreviewplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -85,6 +85,9 @@ target_sources(
)
kcoreaddons_desktop_to_json(kateprojectplugin kateprojectplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(kateprojectplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS kateprojectplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
install(FILES kateproject.example DESTINATION ${KDE_INSTALL_DATADIR}/kateproject)
......
......@@ -22,4 +22,7 @@ target_sources(
)
kcoreaddons_desktop_to_json(katereplicodeplugin katereplicodeplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(katereplicodeplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS katereplicodeplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -32,4 +32,7 @@ target_sources(
)
kcoreaddons_desktop_to_json(katesearchplugin katesearch.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(katesearchplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS katesearchplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
......@@ -30,7 +30,11 @@ target_sources(
plasma_install_package(applet org.kde.plasma.katesessions)
kcoreaddons_desktop_to_json(plasma_engine_katesessions plasma-dataengine-katesessions.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(plasma_engine_katesessions PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/plasma/dataengine")
install(TARGETS plasma_engine_katesessions DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine)
install(FILES plasma-dataengine-katesessions.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(FILES org.kde.plasma.katesessions.operations DESTINATION ${PLASMA_DATA_INSTALL_DIR}/services)
......@@ -35,4 +35,7 @@ target_sources(
)
kcoreaddons_desktop_to_json(katesnippetsplugin katesnippetsplugin.desktop)
# ensure we are able to load plugins pre-install, too, directories must match!
set_target_properties(katesnippetsplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ktexteditor")
install(TARGETS katesnippetsplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
Markdown is supported
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