From bf1ca0ad24de8a4ce357a483a5455e368849e1b9 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 31 Jan 2014 15:17:43 +0000 Subject: [PATCH] Export headers. --- src/GHS3DPRLPlugin/CMakeLists.txt | 13 +++++++++++++ src/gui/CMakeLists.txt | 2 ++ 2 files changed, 15 insertions(+) diff --git a/src/GHS3DPRLPlugin/CMakeLists.txt b/src/GHS3DPRLPlugin/CMakeLists.txt index b923ff2..0a5b045 100644 --- a/src/GHS3DPRLPlugin/CMakeLists.txt +++ b/src/GHS3DPRLPlugin/CMakeLists.txt @@ -60,6 +60,17 @@ SET(_link_LIBRARIES SalomeIDLGHS3DPRLPLUGIN ) +# --- headers --- + +# header files +SET(GHS3DPRLEngine_HEADERS + GHS3DPRLPlugin_Defs.hxx + GHS3DPRLPlugin_GHS3DPRL.hxx + GHS3DPRLPlugin_GHS3DPRL_i.hxx + GHS3DPRLPlugin_Hypothesis.hxx + GHS3DPRLPlugin_Hypothesis_i.hxx +) + # --- sources --- # sources / static @@ -90,4 +101,6 @@ ADD_LIBRARY(GHS3DPRLEngine ${GHS3DPRLEngine_SOURCES}) TARGET_LINK_LIBRARIES(GHS3DPRLEngine ${_link_LIBRARIES} ) INSTALL(TARGETS GHS3DPRLEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) +INSTALL(FILES ${GHS3DPRLEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) + SALOME_INSTALL_SCRIPTS("${_bin_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/GHS3DPRLPlugin) diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 581045f..b0e3df4 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -95,4 +95,6 @@ ADD_LIBRARY(GHS3DPRLPluginGUI ${GHS3DPRLPluginGUI_SOURCES}) TARGET_LINK_LIBRARIES(GHS3DPRLPluginGUI ${_link_LIBRARIES} ) INSTALL(TARGETS GHS3DPRLPluginGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) +INSTALL(FILES ${GHS3DPRLPluginGUI_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) + QT4_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GHS3DPRLPLUGIN_INSTALL_RES_DATA}") -- 2.39.2