mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 22:20:36 +05:00
860d831343
Cherrypick from master 2006-06-08 14:05:08 UTC jfa <jfa@opencascade.com> 'Warn about direct SMESH idl usage: smesh python package have to be used where it is possible.': SMESH_version.h.in adm_local/Makefile.in adm_local/unix/config_files/check_SMESH.m4 bin/VERSION.in doc/salome/gui/SMESH/adding_quadratic_nodes_and_elements.htm doc/salome/gui/SMESH/files/vtk_3d_viewer.htm doc/salome/gui/SMESH/image142.gif doc/salome/gui/SMESH/image143.gif doc/salome/gui/SMESH/image144.gif doc/salome/gui/SMESH/image145.gif doc/salome/gui/SMESH/image146.gif doc/salome/gui/SMESH/image147.gif doc/salome/gui/SMESH/image148.gif doc/salome/gui/SMESH/image15.jpg doc/salome/gui/SMESH/image151.gif doc/salome/gui/SMESH/image152.gif doc/salome/gui/SMESH/index.htm doc/salome/gui/SMESH/index_csh.htm doc/salome/gui/SMESH/index_rhc.htm doc/salome/gui/SMESH/merge_elements.htm doc/salome/gui/SMESH/mesh.htm doc/salome/gui/SMESH/pics/advanced_mesh_infos.png doc/salome/gui/SMESH/pics/aqt.png doc/salome/gui/SMESH/pics/automaticlength.png doc/salome/gui/SMESH/pics/createmesh-inv.png doc/salome/gui/SMESH/pics/createmesh-inv2.png doc/salome/gui/SMESH/pics/createmesh-inv3.png doc/salome/gui/SMESH/pics/distributionwithanalyticdensity.png doc/salome/gui/SMESH/pics/distributionwithtabledensity.png doc/salome/gui/SMESH/pics/graduatedaxes1.png doc/salome/gui/SMESH/pics/image100.gif doc/salome/gui/SMESH/pics/image102.gif doc/salome/gui/SMESH/pics/image107.gif doc/salome/gui/SMESH/pics/image108.gif doc/salome/gui/SMESH/pics/image109.gif doc/salome/gui/SMESH/pics/image138.gif doc/salome/gui/SMESH/pics/image139.gif doc/salome/gui/SMESH/pics/image21.gif doc/salome/gui/SMESH/pics/image23.gif doc/salome/gui/SMESH/pics/image27.gif doc/salome/gui/SMESH/pics/image77.gif doc/salome/gui/SMESH/pics/image78.gif doc/salome/gui/SMESH/pics/image89.gif doc/salome/gui/SMESH/pics/image91.gif doc/salome/gui/SMESH/pics/image96.gif doc/salome/gui/SMESH/pics/image97.gif doc/salome/gui/SMESH/pics/image98.gif doc/salome/gui/SMESH/pics/image99.gif doc/salome/gui/SMESH/pics/length-crit.png doc/salome/gui/SMESH/pics/mergeelems.png doc/salome/gui/SMESH/pics/meshexportmesh.png doc/salome/gui/SMESH/pics/meshimportmesh.png doc/salome/gui/SMESH/pics/meshtrianglemergeelem1.png doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Algorithm.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Algorithm__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Hexahedron.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Hexahedron__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Netgen.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Netgen__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Quadrangle.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Quadrangle__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__Python.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__Python__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Segment__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Tetrahedron.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Tetrahedron__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Triangle.html doc/salome/gui/SMESH/smeshpy_doc/classsmesh_1_1Mesh__Triangle__inherit__graph.jpg doc/salome/gui/SMESH/smeshpy_doc/doxygen.css doc/salome/gui/SMESH/smeshpy_doc/namespacesmesh.html doc/salome/gui/SMESH/volume.htm doc/salome/gui/SMESH/whd_dpns.htm doc/salome/gui/SMESH/whd_hide0.gif doc/salome/gui/SMESH/whd_hide1.gif doc/salome/gui/SMESH/whd_hide2.gif doc/salome/gui/SMESH/whd_next0.gif doc/salome/gui/SMESH/whd_next1.gif doc/salome/gui/SMESH/whd_next2.gif doc/salome/gui/SMESH/whd_nvp10.htm doc/salome/gui/SMESH/whd_nvp20.htm doc/salome/gui/SMESH/whd_prev0.gif doc/salome/gui/SMESH/whd_prev1.gif doc/salome/gui/SMESH/whd_prev2.gif doc/salome/gui/SMESH/whd_show0.gif doc/salome/gui/SMESH/whd_show1.gif doc/salome/gui/SMESH/whd_show2.gif doc/salome/gui/SMESH/whd_sync0.gif doc/salome/gui/SMESH/whd_sync1.gif doc/salome/gui/SMESH/whd_sync2.gif doc/salome/gui/SMESH/whd_tab0.gif doc/salome/gui/SMESH/whd_tab1.gif doc/salome/gui/SMESH/whd_tab2.gif doc/salome/gui/SMESH/whd_tab3.gif doc/salome/gui/SMESH/whd_tab4.gif doc/salome/gui/SMESH/whd_tab5.gif doc/salome/gui/SMESH/whd_tab6.gif doc/salome/gui/SMESH/whd_tab7.gif doc/salome/gui/SMESH/whd_tab8.gif doc/salome/gui/SMESH/whd_tabs.htm doc/salome/gui/SMESH/whd_toc1.gif doc/salome/gui/SMESH/whd_toc2.gif doc/salome/gui/SMESH/whd_toc3.gif doc/salome/gui/SMESH/whd_toc4.gif doc/salome/gui/SMESH/whd_topic.xml doc/salome/gui/SMESH/whd_wbsh0.gif doc/salome/gui/SMESH/whd_wbsh1.gif doc/salome/gui/SMESH/whd_wbsh2.gif doc/salome/gui/SMESH/whgdata/whlstf13.htm doc/salome/tui/SMESH/doxyfile.in doc/salome/tui/SMESH/doxyfile_py.in doc/salome/tui/SMESH/sources/footer.html doc/salome/tui/SMESH/sources/static/tree.js.in resources/SMESHCatalog.xml.in resources/SalomeApp.xml resources/mesh_conv_to_quad.png resources/mesh_tree_algo_netgen_2d.png resources/mesh_tree_algo_netgen_2d3d.png resources/mesh_tree_hypo_netgen.png resources/mesh_tree_hypo_netgen_2d.png src/DriverUNV/UNV2417_Structure.cxx src/DriverUNV/UNV2417_Structure.hxx src/SMDS/SMDS_QuadraticEdge.cxx src/SMDS/SMDS_QuadraticEdge.hxx src/SMDS/SMDS_QuadraticFaceOfNodes.cxx src/SMDS/SMDS_QuadraticFaceOfNodes.hxx src/SMDS/SMDS_QuadraticVolumeOfNodes.cxx src/SMDS/SMDS_QuadraticVolumeOfNodes.hxx src/SMDS/SMDS_SetIterator.hxx src/SMESH/SMESH_MesherHelper.cxx src/SMESH/SMESH_MesherHelper.hxx src/SMESHClient/Makefile.in src/SMESHClient/SMESHClientBin.cxx src/SMESHClient/SMESH_Client.cxx src/SMESHClient/SMESH_Client.hxx src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.cxx src/SMESHGUI/SMESHGUI_AddQuadraticElementDlg.h src/SMESHGUI/SMESHGUI_ConvToQuadDlg.cxx src/SMESHGUI/SMESHGUI_ConvToQuadDlg.h src/SMESHGUI/SMESHGUI_ConvToQuadOp.cxx src/SMESHGUI/SMESHGUI_ConvToQuadOp.h src/SMESH_SWIG/SMESH_AdvancedEditor.py src/SMESH_SWIG/SMESH_fixation_netgen.py src/SMESH_SWIG/SMESH_mechanic_netgen.py src/SMESH_SWIG/ex21_lamp.py src/StdMeshers/StdMeshers_QuadraticMesh.cxx src/StdMeshers/StdMeshers_QuadraticMesh.hxx src/StdMeshers_I/StdMeshers_QuadraticMesh_i.cxx src/StdMeshers_I/StdMeshers_QuadraticMesh_i.hxx
64 lines
1.3 KiB
Plaintext
64 lines
1.3 KiB
Plaintext
# Check availability of SMesh binary distribution
|
|
#
|
|
# Author : Nicolas REJNERI (OPEN CASCADE, 2003)
|
|
#
|
|
|
|
AC_DEFUN([CHECK_SMESH],[
|
|
|
|
AC_CHECKING(for SMesh)
|
|
|
|
SMesh_ok=no
|
|
|
|
SMESH_LDFLAGS=""
|
|
SMESH_CXXFLAGS=""
|
|
|
|
AC_ARG_WITH(smesh,
|
|
[ --with-smesh=DIR root directory path of SMESH installation ],
|
|
SMESH_DIR="$withval",SMESH_DIR="")
|
|
|
|
if test "x$SMESH_DIR" == "x" ; then
|
|
|
|
# no --with-smesh option used
|
|
|
|
if test "x$SMESH_ROOT_DIR" != "x" ; then
|
|
|
|
# SMESH_ROOT_DIR environment variable defined
|
|
SMESH_DIR=$SMESH_ROOT_DIR
|
|
|
|
else
|
|
|
|
# search SMESH binaries in PATH variable
|
|
AC_PATH_PROG(TEMP, libSMESH_Swig.py)
|
|
if test "x$TEMP" != "x" ; then
|
|
SMESH_BIN_DIR=`dirname $TEMP`
|
|
SMESH_DIR=`dirname $SMESH_BIN_DIR`
|
|
fi
|
|
|
|
fi
|
|
#
|
|
fi
|
|
|
|
if test -f ${SMESH_DIR}/bin/salome/libSMESH_Swig.py ; then
|
|
SMesh_ok=yes
|
|
AC_MSG_RESULT(Using SMesh module distribution in ${SMESH_DIR})
|
|
|
|
if test "x$SMESH_ROOT_DIR" == "x" ; then
|
|
SMESH_ROOT_DIR=${SMESH_DIR}
|
|
fi
|
|
AC_SUBST(SMESH_ROOT_DIR)
|
|
|
|
SMESH_LDFLAGS=-L${SMESH_DIR}/lib${LIB_LOCATION_SUFFIX}/salome
|
|
SMESH_CXXFLAGS=-I${SMESH_DIR}/include/salome
|
|
|
|
AC_SUBST(SMESH_LDFLAGS)
|
|
AC_SUBST(SMESH_CXXFLAGS)
|
|
|
|
else
|
|
AC_MSG_WARN("Cannot find compiled SMesh module distribution")
|
|
fi
|
|
|
|
AC_MSG_RESULT(for SMesh: $SMesh_ok)
|
|
|
|
])dnl
|
|
|