]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Improve swig generation process on Windows platform.
authorrnv <rnv@opencascade.com>
Tue, 4 Apr 2017 11:54:32 +0000 (14:54 +0300)
committerrnv <rnv@opencascade.com>
Tue, 30 May 2017 08:20:49 +0000 (11:20 +0300)
src/GEOM_SWIG_WITHIHM/CMakeLists.txt
src/XAO_Swig/CMakeLists.txt

index aac28d6d32516785f9a18476852bc381413ab48e..16901f0ad6f5e6c26da57502d837c6cbd3db59da 100755 (executable)
@@ -76,6 +76,7 @@ SET(_swig_SCRIPTS
 
 SWIG_ADD_MODULE(libGEOM_Swig python libGEOM_Swig.i libGEOM_Swig.cxx)
 SWIG_LINK_LIBRARIES(libGEOM_Swig "${_link_LIBRARIES}")
+SWIG_CHECK_GENERATION(libGEOM_Swig)
 IF(WIN32)
   SET_TARGET_PROPERTIES(_libGEOM_Swig PROPERTIES DEBUG_OUTPUT_NAME _libGEOM_Swig_d)
 ENDIF(WIN32)
index fa47112e092d9104644a5eb627e136445aa27f57..110c111aa73fdc9845769a6d05c81b622eedfe8b 100644 (file)
@@ -59,6 +59,7 @@ SET_SOURCE_FILES_PROPERTIES(xao.i PROPERTIES SWIG_DEFINITIONS "-shadow")
 
 SWIG_ADD_MODULE(xao python xao.i)
 SWIG_LINK_LIBRARIES(xao "${_link_LIBRARIES}")
+SWIG_CHECK_GENERATION(xao)
 IF(WIN32)
   SET_TARGET_PROPERTIES(_xao PROPERTIES DEBUG_OUTPUT_NAME _xao_d)
 ENDIF(WIN32)