From: rnv Date: Tue, 4 Apr 2017 11:54:32 +0000 (+0300) Subject: Improve swig generation process on Windows platform. X-Git-Tag: Before_multi_study_removal_06072017~1^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7d5641841acf0010c14d16b251f7bec81e46cf8c;p=modules%2Fgeom.git Improve swig generation process on Windows platform. --- diff --git a/src/GEOM_SWIG_WITHIHM/CMakeLists.txt b/src/GEOM_SWIG_WITHIHM/CMakeLists.txt index aac28d6d3..16901f0ad 100755 --- a/src/GEOM_SWIG_WITHIHM/CMakeLists.txt +++ b/src/GEOM_SWIG_WITHIHM/CMakeLists.txt @@ -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) diff --git a/src/XAO_Swig/CMakeLists.txt b/src/XAO_Swig/CMakeLists.txt index fa47112e0..110c111aa 100644 --- a/src/XAO_Swig/CMakeLists.txt +++ b/src/XAO_Swig/CMakeLists.txt @@ -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)