diff --git a/analyzers/heaptrack/CMakeLists.txt b/analyzers/heaptrack/CMakeLists.txt --- a/analyzers/heaptrack/CMakeLists.txt +++ b/analyzers/heaptrack/CMakeLists.txt @@ -50,6 +50,7 @@ target_link_libraries(kdevheaptrack kdevheaptrack_config KDev::Project + KDev::IExecute ) if(KF5SysGuard_FOUND) target_link_libraries(kdevheaptrack diff --git a/debuggers/common/CMakeLists.txt b/debuggers/common/CMakeLists.txt --- a/debuggers/common/CMakeLists.txt +++ b/debuggers/common/CMakeLists.txt @@ -72,6 +72,7 @@ Qt5::Widgets KDev::Util KDev::Language + KDev::IExecute ) if(KF5SysGuard_FOUND) target_link_libraries(kdevdebuggercommon diff --git a/debuggers/gdb/CMakeLists.txt b/debuggers/gdb/CMakeLists.txt --- a/debuggers/gdb/CMakeLists.txt +++ b/debuggers/gdb/CMakeLists.txt @@ -47,6 +47,7 @@ KDev::Debugger KDev::Shell KDev::Interfaces + KDev::IExecute KF5::KIOWidgets Qt5::Core Qt5::Gui diff --git a/debuggers/lldb/CMakeLists.txt b/debuggers/lldb/CMakeLists.txt --- a/debuggers/lldb/CMakeLists.txt +++ b/debuggers/lldb/CMakeLists.txt @@ -32,6 +32,7 @@ kdevdebuggercommon KDev::Debugger KDev::Interfaces + KDev::IExecute PRIVATE Qt5::Core Qt5::Gui diff --git a/kdeintegration/executeplasmoid/CMakeLists.txt b/kdeintegration/executeplasmoid/CMakeLists.txt --- a/kdeintegration/executeplasmoid/CMakeLists.txt +++ b/kdeintegration/executeplasmoid/CMakeLists.txt @@ -19,4 +19,6 @@ KDev::Interfaces KDev::Util KDev::Project - KDev::OutputView) + KDev::OutputView + KDev::IExecute +) diff --git a/kdevplatform/cmake/modules/KDevPlatformMacrosInternal.cmake b/kdevplatform/cmake/modules/KDevPlatformMacrosInternal.cmake --- a/kdevplatform/cmake/modules/KDevPlatformMacrosInternal.cmake +++ b/kdevplatform/cmake/modules/KDevPlatformMacrosInternal.cmake @@ -34,9 +34,6 @@ "$" "$" "$" # useful for the "something.export.h" includes ) - #some plugins install interfaces such as execute/iexecuteplugin.h - target_include_directories(${target} INTERFACE - "$" "$" ) set_target_properties(${target} PROPERTIES VERSION ${KDEVPLATFORM_VERSION} SOVERSION ${KDEVPLATFORM_LIB_SOVERSION} diff --git a/kdevplatform/plugins/execute/CMakeLists.txt b/kdevplatform/plugins/execute/CMakeLists.txt --- a/kdevplatform/plugins/execute/CMakeLists.txt +++ b/kdevplatform/plugins/execute/CMakeLists.txt @@ -28,6 +28,17 @@ KDev::Shell ) +add_library(KDevPlatformIExecute INTERFACE) +add_library(KDev::IExecute ALIAS KDevPlatformIExecute) +target_include_directories(KDevPlatformIExecute INTERFACE + "$" + "$" +) +set_target_properties(KDevPlatformIExecute PROPERTIES + EXPORT_NAME IExecute +) +install(TARGETS KDevPlatformIExecute EXPORT KDevPlatformTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) + ########### install files ############### install(FILES iexecuteplugin.h DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/execute COMPONENT Devel)