]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Some additional exports.
authorageay <ageay>
Mon, 8 Jul 2013 05:41:59 +0000 (05:41 +0000)
committerageay <ageay>
Mon, 8 Jul 2013 05:41:59 +0000 (05:41 +0000)
CMakeLists.txt
adm_local/cmake_files/SalomeMEDConfig.cmake.in
idl/CMakeLists.txt
src/MEDCoupling/CMakeLists.txt
src/MEDCouplingCorba/CMakeLists.txt
src/MEDCouplingCorba/Client/CMakeLists.txt
src/MEDLoader/CMakeLists.txt
src/ParaMEDLoader/CMakeLists.txt
src/ParaMEDMEM/CMakeLists.txt

index 25fad4e811a4bed365e3ea4a59364420811fcd6c..a4b0f7442259f70b742a6d203812699eb61e3e67 100644 (file)
@@ -206,7 +206,7 @@ INCLUDE(CMakePackageConfigHelpers)
 # List of targets in this project we want to make visible to the rest of the world.
 # They all have to be INSTALL'd with the option "EXPORT ${PROJECT_NAME}TargetGroup"
 SET(_${PROJECT_NAME}_exposed_targets
-   interpkernel medcoupling)
+   interpkernel medcoupling medcouplingremapper)
 
 IF(NOT SALOME_MED_MICROMED)
   LIST(APPEND _${PROJECT_NAME}_exposed_targets 
index 22fa7b8d72273498f3d5265787f3d6fc7f7c6921..191c34e0a2cf806c3fefd6b9b2c7bf96c69259ad 100644 (file)
@@ -112,6 +112,7 @@ ENDIF()
 # Exposed GUI targets:
 SET(MED_interpkernel interpkernel)
 SET(MED_medcoupling medcoupling)
+SET(MED_medcouplingremapper medcouplingremapper)
 SET(MED_medloader medloader)
 SET(MED_paramedmem paramedmem)
 SET(MED_paramedloader paramedloader)
index 37ee6a2f1f2a795ce549cea3f4000d275110cf91..b67ebe47b6aa1d6836b1f0154033528c3cd51e58 100644 (file)
@@ -64,4 +64,5 @@ OMNIORB_ADD_MODULE(SalomeIDLMEDTests "${SalomeIDLMEDTests_IDLSOURCES}" "${IDL_IN
 TARGET_LINK_LIBRARIES(SalomeIDLMEDTests SalomeIDLMED)
 SET_TARGET_PROPERTIES(SalomeIDLMEDTests PROPERTIES COMPILE_FLAGS "${OMNIORB_DEFINITIONS} ${PLATFORM_DEFINITIONS}")
 
-INSTALL(TARGETS SalomeIDLMED SalomeIDLMEDTests DESTINATION ${SALOME_INSTALL_LIBS})
+INSTALL(TARGETS SalomeIDLMED EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
+INSTALL(TARGETS SalomeIDLMEDTests DESTINATION ${SALOME_INSTALL_LIBS})
index 0e99eb8366c930881f325c64ab674293d89f933f..520777b528645fbd33800137ba8dd7eb6fbb4914 100644 (file)
@@ -69,7 +69,7 @@ INSTALL(TARGETS medcoupling EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALO
 ADD_LIBRARY(medcouplingremapper SHARED ${medcouplingremapper_SOURCES})
 TARGET_LINK_LIBRARIES(medcouplingremapper medcoupling)
 SET_TARGET_PROPERTIES(medcouplingremapper PROPERTIES COMPILE_FLAGS "${PLATFORM_DEFINITIONS}")
-INSTALL(TARGETS medcouplingremapper DESTINATION ${SALOME_INSTALL_LIBS})
+INSTALL(TARGETS medcouplingremapper EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
 
 FILE(GLOB medcoupling_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
 FILE(GLOB medcoupling_HEADERS_TXX "${CMAKE_CURRENT_SOURCE_DIR}/*.txx")
index b62e5896ab60d44a6c385ef18d035166a8b9eb78..25530c9c2cab076ff384f3f35d883621dad52767 100644 (file)
@@ -56,7 +56,7 @@ SET(medcouplingcorba_SOURCES
 
 ADD_LIBRARY(medcouplingcorba SHARED ${medcouplingcorba_SOURCES})
 TARGET_LINK_LIBRARIES(medcouplingcorba medcoupling SalomeIDLMED ${PLATFORM_LIBS})
-INSTALL(TARGETS medcouplingcorba DESTINATION ${SALOME_INSTALL_LIBS})
+INSTALL(TARGETS medcouplingcorba EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
 
 FILE(GLOB medcouplingcorba_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
 INSTALL(FILES ${medcouplingcorba_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})
index 046ba8c51cccf36560e513f3b45b3d946cbcba0c..c8cf5b133b70e6466743613aa781589a28911c9f 100644 (file)
@@ -43,7 +43,7 @@ SET(medcouplingclient_SOURCES
 
 ADD_LIBRARY(medcouplingclient SHARED ${medcouplingclient_SOURCES})
 TARGET_LINK_LIBRARIES(medcouplingclient medcoupling SalomeIDLMED ${OMNIORB_LIBRARIES} ${PLATFORM_LIBS})
-INSTALL(TARGETS medcouplingclient DESTINATION ${SALOME_INSTALL_LIBS})
+INSTALL(TARGETS medcouplingclient EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
 
 FILE(GLOB medcouplingclient_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
 INSTALL(FILES ${medcouplingclient_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})
index 261e5d01c561ef5624a986a0ab50f43919b910d5..9584fcf1654544595df0b8c9dc0c1a45cc6d9102 100644 (file)
@@ -59,7 +59,7 @@ SET(medloader_SOURCES
 ADD_LIBRARY(medloader SHARED ${medloader_SOURCES})
 SET_TARGET_PROPERTIES(medloader PROPERTIES COMPILE_FLAGS "")
 TARGET_LINK_LIBRARIES(medloader medcoupling ${MEDFILE_C_LIBRARIES} ${HDF5_LIBRARIES})
-INSTALL(TARGETS medloader DESTINATION ${SALOME_INSTALL_LIBS})
+INSTALL(TARGETS medloader EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
 
 FILE(GLOB medloader_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
 INSTALL(FILES ${medloader_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})
index 11f65903447db08b90f87651a61fedd74cd362e3..708d900d3c5329fe74b5da533ee0da57665a4735 100644 (file)
@@ -38,7 +38,7 @@ SET(paramedloader_SOURCES
 
 ADD_LIBRARY(paramedloader SHARED ${paramedloader_SOURCES})
 TARGET_LINK_LIBRARIES(paramedloader paramedmem medloader ${PLATFORM_LIBS})
-INSTALL(TARGETS paramedloader DESTINATION ${SALOME_INSTALL_LIBS})
+INSTALL(TARGETS paramedloader EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
 
 FILE(GLOB paramedloader_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
 INSTALL(FILES ${paramedloader_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})
index 6c573f798b2c65c4a6c5ed0a879555a379b9ab83..390c6f98433d55a5615a0accd5002b22438a0524 100644 (file)
@@ -63,7 +63,7 @@ SET(paramedmem_SOURCES
 
 ADD_LIBRARY(paramedmem SHARED ${paramedmem_SOURCES})
 TARGET_LINK_LIBRARIES(paramedmem medcoupling ${MPI_LIBRARIES})
-INSTALL(TARGETS paramedmem DESTINATION ${SALOME_INSTALL_LIBS})
+INSTALL(TARGETS paramedmem EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
 
 FILE(GLOB paramedmem_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
 INSTALL(FILES ${paramedmem_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})