mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
Compilation under Windows platform.
This commit is contained in:
parent
686c7023c5
commit
d7d68d8f96
@ -129,7 +129,8 @@ SET(_shared_SCRIPTS
|
|||||||
GEOM_shared_modules.py
|
GEOM_shared_modules.py
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# additional preprocessor / compiler flags
|
||||||
|
ADD_DEFINITIONS(${OMNIORB_DEFINITIONS} )
|
||||||
SET(GeomHelper_HEADERS GeomHelper.h GeomHelper.i)
|
SET(GeomHelper_HEADERS GeomHelper.h GeomHelper.i)
|
||||||
SET(GeomHelper_SOURCES GeomHelper.cxx ${GeomHelper_HEADERS})
|
SET(GeomHelper_SOURCES GeomHelper.cxx ${GeomHelper_HEADERS})
|
||||||
SET_SOURCE_FILES_PROPERTIES(GeomHelper.i PROPERTIES CPLUSPLUS ON)
|
SET_SOURCE_FILES_PROPERTIES(GeomHelper.i PROPERTIES CPLUSPLUS ON)
|
||||||
@ -142,6 +143,10 @@ ELSE()
|
|||||||
SWIG_ADD_LIBRARY(GeomHelper LANGUAGE python SOURCES ${GeomHelper_SOURCES})
|
SWIG_ADD_LIBRARY(GeomHelper LANGUAGE python SOURCES ${GeomHelper_SOURCES})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
SWIG_LINK_LIBRARIES(GeomHelper ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} GEOMEngine ${KERNEL_SalomeKernelHelpers} ${KERNEL_SalomeDS} )
|
SWIG_LINK_LIBRARIES(GeomHelper ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} GEOMEngine ${KERNEL_SalomeKernelHelpers} ${KERNEL_SalomeDS} )
|
||||||
|
SWIG_CHECK_GENERATION(GeomHelper)
|
||||||
|
IF(WIN32)
|
||||||
|
SET_TARGET_PROPERTIES(_GeomHelper PROPERTIES DEBUG_OUTPUT_NAME _GeomHelper_d)
|
||||||
|
ENDIF(WIN32)
|
||||||
install(TARGETS _GeomHelper DESTINATION ${SALOME_INSTALL_LIBS})
|
install(TARGETS _GeomHelper DESTINATION ${SALOME_INSTALL_LIBS})
|
||||||
install(FILES ${GeomHelper_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
|
install(FILES ${GeomHelper_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
|
||||||
SALOME_INSTALL_SCRIPTS("${_swig_SCRIPTS}" ${SALOME_INSTALL_BINS} EXTRA_DPYS "${SWIG_MODULE_GeomHelper_REAL_NAME}")
|
SALOME_INSTALL_SCRIPTS("${_swig_SCRIPTS}" ${SALOME_INSTALL_BINS} EXTRA_DPYS "${SWIG_MODULE_GeomHelper_REAL_NAME}")
|
||||||
|
Loading…
Reference in New Issue
Block a user