Sprout from master 2006-06-01 11:42:55 UTC jfa <jfa@opencascade.com> 'Join modifications from branch BR_DEBUG_3_2_0b1'
Cherrypick from V3_2_0_maintainance 2006-08-25 07:09:10 UTC vsr <vsr@opencascade.com> 'Increment version number: 3.2.2':
adm_local/unix/make_commence.in
configure.in.base
src/NETGEN/ReadMeForNgUsers
# common directories to put headerfiles
inc_builddir=$(top_builddir)/include/salome
+MODULE_NAME=@MODULE_NAME@
+
@SET_MAKE@
SHELL=/bin/sh
PACKAGE=salome
AC_SUBST(PACKAGE)
-VERSION=3.2.0
-XVERSION=0x030200
+VERSION=3.2.2
+XVERSION=0x030202
AC_SUBST(VERSION)
AC_SUBST(XVERSION)
+# set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
+MODULE_NAME=netgenplugin
+AC_SUBST(MODULE_NAME)
+
dnl
dnl Initialize source and build root directories
dnl
fi
# make other build directories
-for rep in salome_adm adm_local doc bin/salome include/salome lib/salome share/salome/resources idl
+for rep in salome_adm adm_local doc bin/salome include/salome lib/salome share/salome/resources/${MODULE_NAME} idl
do
# if test ! -d $rep ; then
# eval mkdir $rep
$ cd netgen45
$ patch -p1 < patch_directory/netgen45ForSalome.patch
+Set CASROOT environment variable to OCCT installation path,
+as Netgen 4.5 uses Open CASCADE Technology:
+
+$ setenv CASROOT <occt_installation_path>
+
Then run makeForSalome.sh (it will be created by the patch):
$ sh makeForSalome.sh
recompile the libraries only.
All this job is done by applying the patch and running the script makeForSalome.sh.
-Th suggested patch alters some Netgen sources to compile them.
+The suggested patch alters some Netgen sources to compile them.
Michael SAZONOV
m-sazonov@opencascade.com