diff options
author | Yordan Karadzhov (VMware) <y.karadz@gmail.com> | 2022-01-27 13:11:10 +0200 |
---|---|---|
committer | Yordan Karadzhov (VMware) <y.karadz@gmail.com> | 2022-01-28 11:34:59 +0200 |
commit | 5419186f4bbad68aa16849882a8f12fa9adb22c5 (patch) | |
tree | db1abbb923245137041a1d14bed54a841e27f60a | |
parent | 70879de8722a5c8bc2cdd21e5617e6765bebd556 (diff) | |
download | kernel-shark-5419186f4bbad68aa16849882a8f12fa9adb22c5.tar.gz |
kernel-shark: Install missing headers
Building an external plugin that uses libkshark-plot and libkshark-gui
libraries haven't been realy tested so far. It turns that headers that
are required in order to do this are not installed. The installation of
those headers is made part of the 'libkshark-devel' component.
Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
-rw-r--r-- | src/CMakeLists.txt | 8 | ||||
-rw-r--r-- | src/plugins/CMakeLists.txt | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9e0b4ae2..fbf38191 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -67,6 +67,14 @@ if (OPENGL_FOUND) LIBRARY DESTINATION ${_LIBDIR} COMPONENT kernelshark) + install(FILES "${KS_DIR}/src/stb_truetype.h" + "${KS_DIR}/src/libkshark-plot.h" + "${KS_DIR}/src/KsPlotTools.hpp" + "${KS_DIR}/src/KsPlugins.hpp" + "${KS_DIR}/src/KsCmakeDef.hpp" + DESTINATION ${KS_INCLUDS_DESTINATION} + COMPONENT libkshark-devel) + endif (OPENGL_FOUND) if (Qt5Widgets_FOUND AND Qt5Network_FOUND AND TT_FONT_FILE) diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index 3e170faa..e9d90686 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -69,4 +69,8 @@ install(TARGETS ${PLUGIN_LIST} LIBRARY DESTINATION ${KS_PLUGIN_INSTALL_PREFIX} COMPONENT kernelshark) +install(FILES "${KS_DIR}/src/plugins/common_sched.h" + DESTINATION "${KS_INCLUDS_DESTINATION}/plugins" + COMPONENT libkshark-devel) + set(PLUGINS ${PLUGIN_LIST} PARENT_SCOPE) |