mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
CoTech decision: move MEDWrapper from MED to SMESH
Remove dependency on MED
This commit is contained in:
parent
abba7ab65c
commit
d14e48c7b0
@ -28,12 +28,10 @@ if SMESH_ENABLE_GUI
|
|||||||
ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
|
ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
|
||||||
-I ${GUI_ROOT_DIR}/adm_local/unix/config_files \
|
-I ${GUI_ROOT_DIR}/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
|
||||||
else !SMESH_ENABLE_GUI
|
else !SMESH_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
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -46,14 +46,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
|
||||||
|
|
||||||
@ -82,12 +74,10 @@ 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 || exit 1
|
-I ${GEOM_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 || exit 1
|
-I ${GEOM_ROOT_DIR}/adm_local/unix/config_files || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -46,8 +46,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=${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION}/site-packages/salome\;%PYTHONPATH%
|
@SET PYTHONPATH=${CMAKE_INSTALL_PREFIX}/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:${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:${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:${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:${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}
|
||||||
|
@ -31,8 +31,8 @@ dist_salomescript_PYTHON = collect_mesh_methods.py
|
|||||||
guidocdir = $(docdir)/gui/SMESH
|
guidocdir = $(docdir)/gui/SMESH
|
||||||
guidoc_DATA = images/head.png
|
guidoc_DATA = images/head.png
|
||||||
|
|
||||||
DOC_PYTHONPATH=$(prefix)/bin/salome:$(prefix)/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:$(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:$(MED_ROOT_DIR)/lib/salome:$(GEOM_ROOT_DIR)/lib/salome:$(KERNEL_ROOT_DIR)/lib/salome
|
DOC_LD_LIBRARY_PATH=$(prefix)/lib/salome:$(GEOM_ROOT_DIR)/lib/salome:$(KERNEL_ROOT_DIR)/lib/salome
|
||||||
DOC_SMESH_MeshersList=StdMeshers
|
DOC_SMESH_MeshersList=StdMeshers
|
||||||
|
|
||||||
tmp1/smeshBuilder.py: $(top_srcdir)/src/SMESH_SWIG/StdMeshersBuilder.py $(srcdir)/collect_mesh_methods.py
|
tmp1/smeshBuilder.py: $(top_srcdir)/src/SMESH_SWIG/StdMeshersBuilder.py $(srcdir)/collect_mesh_methods.py
|
||||||
|
Loading…
Reference in New Issue
Block a user