mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-27 09:50:34 +05:00
Improve swig generation process on Windows platform.
This commit is contained in:
parent
1dc813d9b7
commit
e91953b7a0
@ -76,6 +76,7 @@ SET(_swig_SCRIPTS
|
|||||||
|
|
||||||
SWIG_ADD_MODULE(libGEOM_Swig python libGEOM_Swig.i libGEOM_Swig.cxx)
|
SWIG_ADD_MODULE(libGEOM_Swig python libGEOM_Swig.i libGEOM_Swig.cxx)
|
||||||
SWIG_LINK_LIBRARIES(libGEOM_Swig "${_link_LIBRARIES}")
|
SWIG_LINK_LIBRARIES(libGEOM_Swig "${_link_LIBRARIES}")
|
||||||
|
SWIG_CHECK_GENERATION(libGEOM_Swig)
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
SET_TARGET_PROPERTIES(_libGEOM_Swig PROPERTIES DEBUG_OUTPUT_NAME _libGEOM_Swig_d)
|
SET_TARGET_PROPERTIES(_libGEOM_Swig PROPERTIES DEBUG_OUTPUT_NAME _libGEOM_Swig_d)
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
|
@ -59,6 +59,7 @@ SET_SOURCE_FILES_PROPERTIES(xao.i PROPERTIES SWIG_DEFINITIONS "-shadow")
|
|||||||
|
|
||||||
SWIG_ADD_MODULE(xao python xao.i)
|
SWIG_ADD_MODULE(xao python xao.i)
|
||||||
SWIG_LINK_LIBRARIES(xao "${_link_LIBRARIES}")
|
SWIG_LINK_LIBRARIES(xao "${_link_LIBRARIES}")
|
||||||
|
SWIG_CHECK_GENERATION(xao)
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
SET_TARGET_PROPERTIES(_xao PROPERTIES DEBUG_OUTPUT_NAME _xao_d)
|
SET_TARGET_PROPERTIES(_xao PROPERTIES DEBUG_OUTPUT_NAME _xao_d)
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user