CoTech decision: move MEDWrapper from MED to SMESH
Remove dependency on MED module
This commit is contained in:
parent
aabb991fa6
commit
1860b7824a
@ -28,13 +28,11 @@ if NETGENPLUGIN_ENABLE_GUI
|
|||||||
ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
|
ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
|
||||||
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
|
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
|
||||||
-I ${GUI_ROOT_DIR}/adm_local/unix/config_files \
|
-I ${GUI_ROOT_DIR}/adm_local/unix/config_files \
|
||||||
-I ${MED_ROOT_DIR}/adm_local/unix/config_files \
|
|
||||||
-I ${GEOM_ROOT_DIR}/adm_local/unix/config_files \
|
-I ${GEOM_ROOT_DIR}/adm_local/unix/config_files \
|
||||||
-I ${SMESH_ROOT_DIR}/adm_local/unix/config_files
|
-I ${SMESH_ROOT_DIR}/adm_local/unix/config_files
|
||||||
else !NETGENPLUGIN_ENABLE_GUI
|
else !NETGENPLUGIN_ENABLE_GUI
|
||||||
ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
|
ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
|
||||||
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
|
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
|
||||||
-I ${MED_ROOT_DIR}/adm_local/unix/config_files \
|
|
||||||
-I ${GEOM_ROOT_DIR}/adm_local/unix/config_files \
|
-I ${GEOM_ROOT_DIR}/adm_local/unix/config_files \
|
||||||
-I ${SMESH_ROOT_DIR}/adm_local/unix/config_files
|
-I ${SMESH_ROOT_DIR}/adm_local/unix/config_files
|
||||||
endif
|
endif
|
||||||
|
@ -47,14 +47,6 @@ fi
|
|||||||
# exit
|
# exit
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# Test if the MED_ROOT_DIR is set correctly
|
|
||||||
|
|
||||||
if test ! -d "${MED_ROOT_DIR}"; then
|
|
||||||
echo "failed : MED_ROOT_DIR variable is not correct !"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# Test if the GEOM_ROOT_DIR is set correctly
|
# Test if the GEOM_ROOT_DIR is set correctly
|
||||||
|
|
||||||
@ -89,13 +81,11 @@ if test -d "${GUI_ROOT_DIR}"; then
|
|||||||
aclocal -I adm_local/unix/config_files \
|
aclocal -I adm_local/unix/config_files \
|
||||||
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
|
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
|
||||||
-I ${GUI_ROOT_DIR}/adm_local/unix/config_files \
|
-I ${GUI_ROOT_DIR}/adm_local/unix/config_files \
|
||||||
-I ${MED_ROOT_DIR}/adm_local/unix/config_files \
|
|
||||||
-I ${GEOM_ROOT_DIR}/adm_local/unix/config_files \
|
-I ${GEOM_ROOT_DIR}/adm_local/unix/config_files \
|
||||||
-I ${SMESH_ROOT_DIR}/adm_local/unix/config_files || exit 1
|
-I ${SMESH_ROOT_DIR}/adm_local/unix/config_files || exit 1
|
||||||
else
|
else
|
||||||
aclocal -I adm_local/unix/config_files \
|
aclocal -I adm_local/unix/config_files \
|
||||||
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
|
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
|
||||||
-I ${MED_ROOT_DIR}/adm_local/unix/config_files \
|
|
||||||
-I ${GEOM_ROOT_DIR}/adm_local/unix/config_files \
|
-I ${GEOM_ROOT_DIR}/adm_local/unix/config_files \
|
||||||
-I ${SMESH_ROOT_DIR}/adm_local/unix/config_files || exit 1
|
-I ${SMESH_ROOT_DIR}/adm_local/unix/config_files || exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -339,14 +339,6 @@ echo
|
|||||||
|
|
||||||
CHECK_GEOM
|
CHECK_GEOM
|
||||||
|
|
||||||
echo
|
|
||||||
echo ---------------------------------------------
|
|
||||||
echo Testing Med
|
|
||||||
echo ---------------------------------------------
|
|
||||||
echo
|
|
||||||
|
|
||||||
CHECK_MED
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo ---------------------------------------------
|
echo ---------------------------------------------
|
||||||
echo Testing Netgen
|
echo Testing Netgen
|
||||||
|
@ -44,8 +44,6 @@ IF(WINDOWS)
|
|||||||
@SET PATH=$ENV{KERNEL_ROOT_DIR}/lib/salome\;%PATH%
|
@SET PATH=$ENV{KERNEL_ROOT_DIR}/lib/salome\;%PATH%
|
||||||
@SET PYTHONPATH=$ENV{KERNEL_ROOT_DIR}/bin/salome\;%PYTHONPATH%
|
@SET PYTHONPATH=$ENV{KERNEL_ROOT_DIR}/bin/salome\;%PYTHONPATH%
|
||||||
@SET PYTHONPATH=$ENV{KERNEL_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome\;%PYTHONPATH%
|
@SET PYTHONPATH=$ENV{KERNEL_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome\;%PYTHONPATH%
|
||||||
@SET PYTHONPATH=$ENV{MED_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome\;%PYTHONPATH%
|
|
||||||
@SET PYTHONPATH=$ENV{MED_ROOT_DIR}/bin/salome\;%PYTHONPATH%
|
|
||||||
@SET PYTHONPATH=$ENV{GEOM_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome\;%PYTHONPATH%
|
@SET PYTHONPATH=$ENV{GEOM_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome\;%PYTHONPATH%
|
||||||
@SET PYTHONPATH=$ENV{GEOM_ROOT_DIR}/bin/salome\;%PYTHONPATH%
|
@SET PYTHONPATH=$ENV{GEOM_ROOT_DIR}/bin/salome\;%PYTHONPATH%
|
||||||
@SET PYTHONPATH=$ENV{SMESH_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome\;%PYTHONPATH%
|
@SET PYTHONPATH=$ENV{SMESH_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome\;%PYTHONPATH%
|
||||||
@ -57,8 +55,8 @@ IF(WINDOWS)
|
|||||||
SET(EXT "bat")
|
SET(EXT "bat")
|
||||||
SET(CALL_STR "call")
|
SET(CALL_STR "call")
|
||||||
ELSE(WINDOWS)
|
ELSE(WINDOWS)
|
||||||
SET(DOC_PYTHONPATH ${CMAKE_INSTALL_PREFIX}/bin/salome:${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION}/site-packages/salome:${SMESH_ROOT_DIR}/bin/salome:${SMESH_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome:${MED_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome:${GEOM_ROOT_DIR}/bin/salome:${GEOM_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome:${KERNEL_ROOT_DIR}/bin/salome:${KERNEL_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome:${OMNIORB_ROOT_USER}/lib/python${PYTHON_VERSION}/site-packages:${OMNIORB_ROOT_USER}/lib64/python${PYTHON_VERSION}/site-packages)
|
SET(DOC_PYTHONPATH ${CMAKE_INSTALL_PREFIX}/bin/salome:${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION}/site-packages/salome:${SMESH_ROOT_DIR}/bin/salome:${SMESH_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome:${GEOM_ROOT_DIR}/bin/salome:${GEOM_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome:${KERNEL_ROOT_DIR}/bin/salome:${KERNEL_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome:${OMNIORB_ROOT_USER}/lib/python${PYTHON_VERSION}/site-packages:${OMNIORB_ROOT_USER}/lib64/python${PYTHON_VERSION}/site-packages)
|
||||||
SET(DOC_LD_LIBRARY_PATH "${CMAKE_INSTALL_PREFIX}/lib/salome:${SMESH_ROOT_DIR}/lib/salome:${MED_ROOT_DIR}/lib/salome:${GEOM_ROOT_DIR}/lib/salome:${KERNEL_ROOT_DIR}/lib/salome")
|
SET(DOC_LD_LIBRARY_PATH "${CMAKE_INSTALL_PREFIX}/lib/salome:${SMESH_ROOT_DIR}/lib/salome:${GEOM_ROOT_DIR}/lib/salome:${KERNEL_ROOT_DIR}/lib/salome")
|
||||||
SET(SCR "export PYTHONPATH=${DOC_PYTHONPATH}:\${PYTHONPATH}
|
SET(SCR "export PYTHONPATH=${DOC_PYTHONPATH}:\${PYTHONPATH}
|
||||||
export LD_LIBRARY_PATH=${DOC_LD_LIBRARY_PATH}:\${LD_LIBRARY_PATH}
|
export LD_LIBRARY_PATH=${DOC_LD_LIBRARY_PATH}:\${LD_LIBRARY_PATH}
|
||||||
export SMESH_MeshersList=${DOC_SMESH_MeshersList}
|
export SMESH_MeshersList=${DOC_SMESH_MeshersList}
|
||||||
|
@ -29,8 +29,8 @@ EXTRA_DIST += images input static/footer.html static/salome_extra.css
|
|||||||
guidocdir = $(docdir)/gui/NETGENPLUGIN
|
guidocdir = $(docdir)/gui/NETGENPLUGIN
|
||||||
guidoc_DATA = images/head.png
|
guidoc_DATA = images/head.png
|
||||||
|
|
||||||
DOC_PYTHONPATH=$(prefix)/bin/salome:$(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(SMESH_ROOT_DIR)/bin/salome:$(SMESH_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(MED_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(GEOM_ROOT_DIR)/bin/salome:$(GEOM_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(KERNEL_ROOT_DIR)/bin/salome:$(KERNEL_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(OMNIORB_ROOT)/lib/python$(PYTHON_VERSION)/site-packages:$(OMNIORB_ROOT)/lib64/python$(PYTHON_VERSION)/site-packages
|
DOC_PYTHONPATH=$(prefix)/bin/salome:$(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(SMESH_ROOT_DIR)/bin/salome:$(SMESH_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(GEOM_ROOT_DIR)/bin/salome:$(GEOM_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(KERNEL_ROOT_DIR)/bin/salome:$(KERNEL_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(OMNIORB_ROOT)/lib/python$(PYTHON_VERSION)/site-packages:$(OMNIORB_ROOT)/lib64/python$(PYTHON_VERSION)/site-packages
|
||||||
DOC_LD_LIBRARY_PATH=$(prefix)/lib/salome:$(SMESH_ROOT_DIR)/lib/salome:$(MED_ROOT_DIR)/lib/salome:$(GEOM_ROOT_DIR)/lib/salome:$(KERNEL_ROOT_DIR)/lib/salome
|
DOC_LD_LIBRARY_PATH=$(prefix)/lib/salome:$(SMESH_ROOT_DIR)/lib/salome:$(GEOM_ROOT_DIR)/lib/salome:$(KERNEL_ROOT_DIR)/lib/salome
|
||||||
DOC_SMESH_MeshersList=NETGENPlugin
|
DOC_SMESH_MeshersList=NETGENPlugin
|
||||||
|
|
||||||
tmp/smeshBuilder.py: $(top_srcdir)/src/NETGENPlugin/NETGENPluginBuilder.py
|
tmp/smeshBuilder.py: $(top_srcdir)/src/NETGENPlugin/NETGENPluginBuilder.py
|
||||||
|
@ -56,7 +56,6 @@ libNETGENPluginGUI_la_CPPFLAGS = \
|
|||||||
$(KERNEL_CXXFLAGS) \
|
$(KERNEL_CXXFLAGS) \
|
||||||
$(GUI_CXXFLAGS) \
|
$(GUI_CXXFLAGS) \
|
||||||
$(GEOM_CXXFLAGS) \
|
$(GEOM_CXXFLAGS) \
|
||||||
$(MED_CXXFLAGS) \
|
|
||||||
$(SMESH_CXXFLAGS) \
|
$(SMESH_CXXFLAGS) \
|
||||||
$(BOOST_CPPFLAGS) \
|
$(BOOST_CPPFLAGS) \
|
||||||
$(CORBA_CXXFLAGS) \
|
$(CORBA_CXXFLAGS) \
|
||||||
|
@ -76,7 +76,6 @@ dist_libNETGENEngine_la_SOURCES = \
|
|||||||
libNETGENEngine_la_CPPFLAGS = \
|
libNETGENEngine_la_CPPFLAGS = \
|
||||||
$(KERNEL_CXXFLAGS) \
|
$(KERNEL_CXXFLAGS) \
|
||||||
$(GUI_CXXFLAGS) \
|
$(GUI_CXXFLAGS) \
|
||||||
$(MED_CXXFLAGS) \
|
|
||||||
$(GEOM_CXXFLAGS) \
|
$(GEOM_CXXFLAGS) \
|
||||||
$(CAS_CPPFLAGS) \
|
$(CAS_CPPFLAGS) \
|
||||||
$(VTK_INCLUDES) \
|
$(VTK_INCLUDES) \
|
||||||
@ -94,7 +93,6 @@ libNETGENEngine_la_LDFLAGS += \
|
|||||||
$(CAS_LDPATH) -lTKernel -lTKBRep -lTKShHealing -lTKSTEP -lTKXSBase -lTKIGES -lTKMesh -lTKSTL -lTKG3d -lTKTopAlgo -lTKG2d -lTKBool -lTKGeomAlgo -lTKOffset -lTKGeomBase -lTKBO \
|
$(CAS_LDPATH) -lTKernel -lTKBRep -lTKShHealing -lTKSTEP -lTKXSBase -lTKIGES -lTKMesh -lTKSTL -lTKG3d -lTKTopAlgo -lTKG2d -lTKBool -lTKGeomAlgo -lTKOffset -lTKGeomBase -lTKBO \
|
||||||
-lTKMath -lTKFillet -lTKMeshVS -lTKPrim -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKXDESTEP -lTKXDEIGES -lTKXCAF -lTKLCAF -lFWOSPlugin \
|
-lTKMath -lTKFillet -lTKMeshVS -lTKPrim -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKXDESTEP -lTKXDEIGES -lTKXCAF -lTKLCAF -lFWOSPlugin \
|
||||||
$(GEOM_LDFLAGS) -lGEOMbasic \
|
$(GEOM_LDFLAGS) -lGEOMbasic \
|
||||||
$(MED_LDFLAGS) -lSalomeIDLMED \
|
|
||||||
$(SMESH_LDFLAGS) -lSMESHimpl -lSMESHEngine -lSMESHUtils -lStdMeshersEngine -lStdMeshers -lSMESHDS -lSMDS -lSMESHControls \
|
$(SMESH_LDFLAGS) -lSMESHimpl -lSMESHEngine -lSMESHUtils -lStdMeshersEngine -lStdMeshers -lSMESHDS -lSMDS -lSMESHControls \
|
||||||
$(KERNEL_LDFLAGS) -lSalomeGenericObj -lSalomeNS -lSALOMELocalTrace -lOpUtil
|
$(KERNEL_LDFLAGS) -lSalomeGenericObj -lSalomeNS -lSALOMELocalTrace -lOpUtil
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user