Compare commits
5 Commits
master
...
BR_For_OCT
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d291668a48 | ||
![]() |
1dd5913e4e | ||
![]() |
9ab44e1f03 | ||
![]() |
30b91f7405 | ||
![]() |
a1bb961bcb |
@ -1,6 +1,8 @@
|
|||||||
# common directories to put headerfiles
|
# common directories to put headerfiles
|
||||||
inc_builddir=$(top_builddir)/include/salome
|
inc_builddir=$(top_builddir)/include/salome
|
||||||
|
|
||||||
|
MODULE_NAME=@MODULE_NAME@
|
||||||
|
|
||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
SHELL=/bin/sh
|
SHELL=/bin/sh
|
||||||
|
|
||||||
|
@ -22,11 +22,15 @@ AC_CANONICAL_HOST
|
|||||||
PACKAGE=salome
|
PACKAGE=salome
|
||||||
AC_SUBST(PACKAGE)
|
AC_SUBST(PACKAGE)
|
||||||
|
|
||||||
VERSION=3.2.0
|
VERSION=3.2.2pre
|
||||||
XVERSION=0x030200
|
XVERSION=0x030202
|
||||||
AC_SUBST(VERSION)
|
AC_SUBST(VERSION)
|
||||||
AC_SUBST(XVERSION)
|
AC_SUBST(XVERSION)
|
||||||
|
|
||||||
|
# set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
|
||||||
|
MODULE_NAME=netgenplugin
|
||||||
|
AC_SUBST(MODULE_NAME)
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl Initialize source and build root directories
|
dnl Initialize source and build root directories
|
||||||
dnl
|
dnl
|
||||||
@ -356,7 +360,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# make other build directories
|
# 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
|
do
|
||||||
# if test ! -d $rep ; then
|
# if test ! -d $rep ; then
|
||||||
# eval mkdir $rep
|
# eval mkdir $rep
|
||||||
|
@ -9,6 +9,11 @@ Patch the netgen 4.5 distribution:
|
|||||||
$ cd netgen45
|
$ cd netgen45
|
||||||
$ patch -p1 < patch_directory/netgen45ForSalome.patch
|
$ 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):
|
Then run makeForSalome.sh (it will be created by the patch):
|
||||||
$ sh makeForSalome.sh
|
$ sh makeForSalome.sh
|
||||||
|
|
||||||
@ -72,7 +77,7 @@ nglib.o and ngnewdelete.o to the library libnginterface.a and
|
|||||||
recompile the libraries only.
|
recompile the libraries only.
|
||||||
All this job is done by applying the patch and running the script makeForSalome.sh.
|
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
|
Michael SAZONOV
|
||||||
m-sazonov@opencascade.com
|
m-sazonov@opencascade.com
|
||||||
|
Loading…
Reference in New Issue
Block a user