mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-14 09:38:33 +05:00
PR: needed by merge C. CAREMOLI branch CCAR_br1
This commit is contained in:
parent
7d7abf6b8a
commit
138c9cab7e
@ -36,6 +36,8 @@ LIB_CLIENT_IDL = SALOMEDS.idl \
|
|||||||
SALOME_Component.idl \
|
SALOME_Component.idl \
|
||||||
MED.idl
|
MED.idl
|
||||||
|
|
||||||
|
EXPORT_SHAREDPYSCRIPTS=SMESH_shared_modules.py
|
||||||
|
|
||||||
CPPFLAGS+=$(QT_INCLUDES) $(PYTHON_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) $(OGL_INCLUDES) -DHAVE_CONFIG_H
|
CPPFLAGS+=$(QT_INCLUDES) $(PYTHON_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) $(OGL_INCLUDES) -DHAVE_CONFIG_H
|
||||||
LIBS+= $(PYTHON_LIBS)
|
LIBS+= $(PYTHON_LIBS)
|
||||||
LDFLAGS+= -lSMESHGUI
|
LDFLAGS+= -lSMESHGUI
|
||||||
|
19
src/SMESH_SWIG/SMESH_shared_modules.py
Normal file
19
src/SMESH_SWIG/SMESH_shared_modules.py
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
"""
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
# force SMESH importation at interpretor initialization
|
||||||
|
# see salome_shared_modules.py
|
||||||
|
# (avoids incomplete import at run time)
|
||||||
|
|
||||||
|
print "============== import SMESH ======================="
|
||||||
|
|
||||||
|
import SMESH
|
||||||
|
|
||||||
|
# this function is required
|
||||||
|
|
||||||
|
def init_shared_modules():
|
||||||
|
"""
|
||||||
|
This function initializes shared modules that need to be
|
||||||
|
"""
|
||||||
|
pass
|
Loading…
Reference in New Issue
Block a user