]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Improve swig generation process on Windows platform.
authorrnv <rnv@opencascade.com>
Tue, 4 Apr 2017 11:50:03 +0000 (14:50 +0300)
committerrnv <rnv@opencascade.com>
Mon, 10 Apr 2017 14:42:38 +0000 (17:42 +0300)
src/MEDCoupling_Swig/CMakeLists.txt
src/MEDLoader/Swig/CMakeLists.txt
src/MEDPartitioner_Swig/CMakeLists.txt
src/ParaMEDMEM_Swig/CMakeLists.txt
src/RENUMBER_Swig/CMakeLists.txt

index a3cf107e343143fcd98a56ca7b1e7da006e4a8cb..9ae0519e91df7b45c0e7f22a85d4883bc137c60a 100644 (file)
@@ -89,7 +89,7 @@ ENDIF()
 
 SWIG_ADD_MODULE(MEDCoupling python MEDCoupling.i)
 SWIG_LINK_LIBRARIES(MEDCoupling ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} medcoupling)
-
+SWIG_CHECK_GENERATION(MEDCoupling)
 SET_SOURCE_FILES_PROPERTIES(MEDCouplingRemapper.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(MEDCouplingRemapper.i PROPERTIES SWIG_DEFINITIONS "-shadow")
 SET(SWIG_MODULE_MEDCouplingRemapper_EXTRA_FLAGS "${NUMPY_DEFINITIONS};${SCIPY_DEFINITIONS}")
index 14d39353a3645a2dbbf5af115cdfc17cd398ae1e..9b8e8fd84b3b7f7785883339f971d547e972deb6 100644 (file)
@@ -64,6 +64,7 @@ ENDIF()
 
 SWIG_ADD_MODULE(MEDLoader python MEDLoader.i)
 SWIG_LINK_LIBRARIES(MEDLoader ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} medloader medcoupling)
+SWIG_CHECK_GENERATION(MEDLoader)
 IF(WIN32)
   SET_TARGET_PROPERTIES(_MEDLoader PROPERTIES DEBUG_OUTPUT_NAME _MEDLoader_d)
 ENDIF(WIN32)
index 0c622da76f9f8833ad41d9609e09e7990db72112..0a4335f523e856f8b30810d02c8e1f5b857a60a5 100644 (file)
@@ -50,6 +50,7 @@ INCLUDE_DIRECTORIES(
 
 SWIG_ADD_MODULE(MEDPartitioner python MEDPartitioner.i)
 SWIG_LINK_LIBRARIES(MEDPartitioner ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} medpartitionercpp)
+SWIG_CHECK_GENERATION(MEDPartitioner)
 
 IF(WIN32)
   SET_TARGET_PROPERTIES(_MEDPartitioner PROPERTIES DEBUG_OUTPUT_NAME _MEDPartitioner_d)
index 603a63ad3f6cc40086318f9268db5483c6cc7f2f..63fbafdcf3af37865fb55c38e81dfd111d61ffc9 100644 (file)
@@ -54,6 +54,7 @@ SET (SWIG_MODULE_ParaMEDMEM_EXTRA_DEPS ${ParaMEDMEM_SWIG_DPYS_FILES}
 
 SWIG_ADD_MODULE(ParaMEDMEM python ParaMEDMEM.i)
 SWIG_LINK_LIBRARIES(ParaMEDMEM ${PYTHON_LIBRARIES} paramedmem medloader)
+SWIG_CHECK_GENERATION(ParaMEDMEM)
 
 SET_SOURCE_FILES_PROPERTIES(ParaMEDMEM.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(ParaMEDMEM.i PROPERTIES SWIG_DEFINITIONS "-shadow")
index 95e83e3df7685b51fd7f35a3d16a72a444a47335..28051051d52c24716103f918a05528c307b4e1e3 100644 (file)
@@ -54,6 +54,7 @@ INCLUDE_DIRECTORIES(
 
 SWIG_ADD_MODULE(MEDRenumber python MEDRenumber.i)
 SWIG_LINK_LIBRARIES(MEDRenumber ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} renumbercpp)
+SWIG_CHECK_GENERATION(MEDRenumber)
 
 IF(WIN32)
   SET_TARGET_PROPERTIES(_MEDRenumber PROPERTIES DEBUG_OUTPUT_NAME _MEDRenumber_d)