mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
Improve swig generation process on Windows platform.
This commit is contained in:
parent
0cf86bb835
commit
51463f80be
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user