]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
MED CMakization
authorageay <ageay>
Mon, 2 Apr 2012 15:18:17 +0000 (15:18 +0000)
committerageay <ageay>
Mon, 2 Apr 2012 15:18:17 +0000 (15:18 +0000)
13 files changed:
src/MEDCalculator/Swig/CMakeLists.txt
src/MEDCouplingCorba_Swig/CMakeLists.txt
src/MEDCouplingCorba_Swig/Client/CMakeLists.txt
src/MEDCoupling_Swig/CMakeLists.txt
src/MEDLoader/Swig/CMakeLists.txt
src/MEDMEM/CMakeLists.txt
src/MEDMEM_SWIG/CMakeLists.txt
src/MEDPartitioner/CMakeLists.txt
src/MEDSPLITTER_Swig/CMakeLists.txt
src/MedClient/src/CMakeLists.txt
src/MedCorba_Swig/CMakeLists.txt
src/ParaMEDLoader/CMakeLists.txt
src/ParaMEDMEM_Swig/CMakeLists.txt

index d84a7004050d30a2ca93e0455796574c3f1e9393..b28b4c755c2f2075f3d49e3f0afa2b9b6ba72483 100644 (file)
@@ -53,4 +53,5 @@ SWIG_LINK_LIBRARIES(MEDCalculator ${PYTHON_LIBRARIES} medcalculator)
 FILE(GLOB medcalculatorspython_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
 INSTALL(FILES ${medcalculatorspython_HEADERS_HXX} DESTINATION ${MED_salomeinclude_HEADERS})
 INSTALL(TARGETS _MEDCalculator DESTINATION ${MED_salomepythondir})
+INSTALL(FILES MEDCalculator.i MEDCalculatorTypemaps.i DESTINATION ${MED_salomeinclude_HEADERS})
 INSTALL_AND_COMPILE_PYTHON_FILE(${CMAKE_CURRENT_BINARY_DIR}/MEDCalculator.py ${MED_salomescript_PYTHON})
index 7c228591f5024b133984c53eed6b0f82106f5ad0..8ae48166af55166315d3055a853170d6cdd02760 100644 (file)
@@ -44,5 +44,6 @@ SWIG_LINK_LIBRARIES(MEDCouplingCorba ${PYTHON_LIBRARIES} medcouplingcorba)
 SET_TARGET_PROPERTIES(_MEDCouplingCorba PROPERTIES COMPILE_FLAGS "${OMNIORB_FLAGS}")
 
 INSTALL(TARGETS _MEDCouplingCorba DESTINATION ${MED_salomepythondir})
+INSTALL(FILES MEDCouplingCorba.i MEDCouplingCorbaTypemaps.i DESTINATION ${MED_salomeinclude_HEADERS})
 SET(PYFILES_TO_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/MEDCouplingCorba.py)
 INSTALL_AND_COMPILE_PYTHON_FILE("${PYFILES_TO_INSTALL}" ${MED_salomescript_PYTHON})
index e9ea3ad623b0c233fb4311abeb752ae04fd5ce8b..f707dd7f5b167a27c55fed8f382f625986725e97 100644 (file)
@@ -42,5 +42,6 @@ SWIG_LINK_LIBRARIES(MEDCouplingClient ${PYTHON_LIBRARIES} medcouplingclient)
 SET_TARGET_PROPERTIES(_MEDCouplingClient PROPERTIES COMPILE_FLAGS "${OMNIORB_FLAGS}")
 
 INSTALL(TARGETS _MEDCouplingClient DESTINATION ${MED_salomepythondir})
+INSTALL(FILES MEDCouplingClient.i DESTINATION ${MED_salomeinclude_HEADERS})
 SET(PYFILES_TO_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/MEDCouplingClient.py)
 INSTALL_AND_COMPILE_PYTHON_FILE("${PYFILES_TO_INSTALL}" ${MED_salomescript_PYTHON})
index 7c2d405dbeb405fc8316fbd08d95631e3e27f371..834976089e0ebfd0a60718c4ac96d62bac6dbd90 100644 (file)
@@ -48,6 +48,7 @@ SWIG_LINK_LIBRARIES(MEDCouplingRemapper ${PYTHON_LIBRARIES} medcouplingremapper)
 
 SET(PYFILES_TO_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/MEDCoupling.py ${CMAKE_CURRENT_BINARY_DIR}/MEDCouplingRemapper.py ${CMAKE_CURRENT_SOURCE_DIR}/libMEDCoupling_Swig.py)
 INSTALL(TARGETS _MEDCoupling _MEDCouplingRemapper DESTINATION ${MED_salomepythondir})
+INSTALL(FILES MEDCoupling.i MEDCouplingRemapper.i MEDCouplingTypemaps.i DESTINATION ${MED_salomeinclude_HEADERS})
 INSTALL_AND_COMPILE_PYTHON_FILE("${PYFILES_TO_INSTALL}" ${MED_salomescript_PYTHON})
 
 ADD_TEST(MEDCouplingBasicsTest ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/MEDCouplingBasicsTest.py)
index f964f784f857a0a260189584d8fc6b60797da802..8525be191fdac045166fd37b75eff347e2759f78 100644 (file)
@@ -49,6 +49,7 @@ INCLUDE_DIRECTORIES(
   )
 
 INSTALL(TARGETS _MEDLoader DESTINATION ${MED_salomepythondir})
+INSTALL(FILES MEDLoader.i MEDLoaderTypemaps.i DESTINATION ${MED_salomeinclude_HEADERS})
 SET(PYFILES_TO_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/MEDLoader.py ${CMAKE_CURRENT_SOURCE_DIR}/libMEDLoader_Swig.py)
 INSTALL_AND_COMPILE_PYTHON_FILE("${PYFILES_TO_INSTALL}" ${MED_salomescript_PYTHON})
 
index 0624f8425fa179a7a8ab52ad6f1b3a0e4350fd43..2fa633a8c0ef6c228c09a5fdf3308076436d1a3e 100644 (file)
@@ -76,6 +76,6 @@ TARGET_LINK_LIBRARIES(medmem interpkernel ${MED3_LIBS_C_ONLY} ${HDF5_LIBS} ${XDR
 INSTALL(TARGETS medmem DESTINATION ${MED_salomelib_LIBS})
 
 FILE(GLOB medmem_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
-INSTALL(FILES ${medmem_HEADERS_HXX} DESTINATION ${MED_salomeinclude_HEADERS})
+INSTALL(FILES ${medmem_HEADERS_HXX} MEDMEM_DriverFactory.ixx DESTINATION ${MED_salomeinclude_HEADERS})
 FILE(GLOB medmem_HEADERS_TXX "${CMAKE_CURRENT_SOURCE_DIR}/*.txx")
 INSTALL(FILES ${medmem_HEADERS_TXX} DESTINATION ${MED_salomeinclude_HEADERS})
index 7d6c7263f28039b95f43b47cae38ec919fb49541..9e5080b68f3e5b2725467850d0c0ef6f0aedb91e 100644 (file)
@@ -40,4 +40,7 @@ SWIG_ADD_MODULE(libMEDMEM_Swig python libMEDMEM_Swig.i)
 SWIG_LINK_LIBRARIES(libMEDMEM_Swig ${PYTHON_LIBRARIES} medmem)
 
 INSTALL(TARGETS _libMEDMEM_Swig DESTINATION ${MED_salomepythondir})
+INSTALL(FILES libMEDMEM_Swig.i my_typemap.i MEDMEM_SWIG_Templates.hxx DESTINATION ${MED_salomeinclude_HEADERS})
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libMEDMEM_Swig.py DESTINATION ${MED_salomescript_PYTHON})
+INSTALL(FILES med2sauv sauv2med avs2med DESTINATION ${MED_salomescript_PYTHON}
+  PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
index c66b22234fadb4ba2a904d96a1867234522d75cf..69badeafe542ca82bd51fd179f1caca45379fbb4 100644 (file)
@@ -85,7 +85,7 @@ IF(MPI_IS_OK)
       MEDPARTITIONER_UtilsPara.cxx
       MEDPARTITIONER_JointFinder.cxx
       )
-    SET(medpartitionercpp_HEADERS_HXX ${medpartitionercpp_HEADERS_HXX} MEDPARTITIONER_JointFinder.hxx)
+    SET(medpartitionercpp_HEADERS_HXX ${medpartitionercpp_HEADERS_HXX} MEDPARTITIONER_JointFinder.hxx MEDPARTITIONER_MetisGraph.hxx)
     SET(medpartitionercpp_FLAGS "${medpartitionercpp_FLAGS} ${MPI_FLAGS} ${PARMETIS_FLAGS}")
     SET(medpartitionercpp_LDFLAGS ${medpartitionercpp_LDFLAGS} ${PARMETIS_LIBS} ${MPI_LIBS})
   ENDIF(MED_ENABLE_PARMETIS)
index 1d7c5da963044f58b7af2b083c443c9e109b3b25..c1b1b2be2d8aaa6cfd367f8fab1d77d686e6dd7f 100644 (file)
@@ -43,6 +43,7 @@ SWIG_ADD_MODULE(libMEDSPLITTER_Swig python libMEDSPLITTER_Swig.i)
 SWIG_LINK_LIBRARIES(libMEDSPLITTER_Swig ${PYTHON_LIBRARIES} medsplittercpp)
 
 INSTALL(TARGETS _libMEDSPLITTER_Swig DESTINATION ${MED_salomepythondir})
+INSTALL(FILES libMEDSPLITTER_Swig.i DESTINATION ${MED_salomeinclude_HEADERS})
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libMEDSPLITTER_Swig.py MEDSPLITTER.py test_MEDSPLITTER.py DESTINATION ${MED_salomescript_PYTHON})
 INSTALL_AND_COMPILE_PYTHON_FILE(${CMAKE_CURRENT_SOURCE_DIR}/MEDSPLITTER.py ${MED_salomescript_PYTHON})
 
index 42cf612eee4c173b9f266ec914c8bcf73ea66b29..9865205e030b49766c06be6cb4183092064b906a 100644 (file)
@@ -54,6 +54,7 @@ SET(MEDClientcmodule_SOURCES
   )
 
 ADD_LIBRARY(MEDClientcmodule SHARED ${MEDClientcmodule_SOURCES})
+INSTALL(FILES libMEDClient.i DESTINATION ${MED_salomeinclude_HEADERS})
 SET_TARGET_PROPERTIES(MEDClientcmodule PROPERTIES COMPILE_FLAGS "${OMNIORB_FLAGS} ${HDF5_FLAGS} ${MED3_FLAGS} ${XDR_FLAGS}")
 TARGET_LINK_LIBRARIES(MEDClientcmodule MEDMEMImpl MEDEngine)
 INSTALL(TARGETS MEDClientcmodule DESTINATION ${MED_salomelib_LIBS})
index 557ed6bf60bccfdb4bd812e273c4a258a0c254ba..a3b9e0a18607c064be62d119e32a523cea9486c2 100644 (file)
@@ -49,5 +49,6 @@ SET(MED_MedCorba_Swig_salomescript_DATA
   )
 
 INSTALL(TARGETS _libMedCorba_Swig DESTINATION ${MED_salomepythondir})
+INSTALL(FILES libMedCorba_Swig.i DESTINATION ${MED_salomeinclude_HEADERS})
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libMedCorba_Swig.py DESTINATION ${MED_salomescript_PYTHON})
 INSTALL(FILES ${MED_MedCorba_Swig_salomescript_DATA} DESTINATION ${MED_salomescript_DATA})
index 757fbf74a7727d5e94dcad83dcf55b6084e670a8..0399885f35e98830b53f07367061e4d1a42464b3 100644 (file)
@@ -38,5 +38,5 @@ SET_TARGET_PROPERTIES(paramedloader PROPERTIES COMPILE_FLAGS "${HDF5_FLAGS} ${ME
 TARGET_LINK_LIBRARIES(paramedloader paramedmem medloader)
 INSTALL(TARGETS paramedloader DESTINATION ${MED_salomelib_LIBS})
 
-FILE(GLOB paramedloaderr_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
+FILE(GLOB paramedloader_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
 INSTALL(FILES ${paramedloader_HEADERS_HXX} DESTINATION ${MED_salomeinclude_HEADERS})
index 59732550345f693be1a01b20a4215e055a7438c9..40aeaea353c55924eca0856ea0ab1e1279d8cd75 100644 (file)
@@ -46,4 +46,5 @@ SET_SOURCE_FILES_PROPERTIES(ParaMEDMEM.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(ParaMEDMEM.i PROPERTIES SWIG_FLAGS "-shadow")
 
 INSTALL(TARGETS _ParaMEDMEM DESTINATION ${MED_salomepythondir})
+INSTALL(FILES ParaMEDMEM.i DESTINATION ${MED_salomeinclude_HEADERS})
 INSTALL_AND_COMPILE_PYTHON_FILE(${CMAKE_CURRENT_BINARY_DIR}/ParaMEDMEM.py ${MED_salomescript_PYTHON})