3 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5 # + This file is part of enGrid. +
7 # + Copyright 2008-2013 enGits GmbH +
9 # + enGrid is free software: you can redistribute it and/or modify +
10 # + it under the terms of the GNU General Public License as published by +
11 # + the Free Software Foundation, either version 3 of the License, or +
12 # + (at your option) any later version. +
14 # + enGrid is distributed in the hope that it will be useful, +
15 # + but WITHOUT ANY WARRANTY; without even the implied warranty of +
16 # + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +
17 # + GNU General Public License for more details. +
19 # + You should have received a copy of the GNU General Public License +
20 # + along with enGrid. If not, see <http://www.gnu.org/licenses/>. +
22 # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
30 # source ./scripts/setup_paths.sh engits yes
31 source /opt
/engits
/bin
/engrid_environment.sh
33 echo "BUILDING TOOLS":
34 echo "gcc = $(which gcc)"
35 echo "g++ = $(which g++)"
36 echo "qmake = $(which qmake)"
37 echo "make = $(which make)"
45 echo VTKLIBDIR
= $VTKLIBDIR
46 echo VTKINCDIR
= $VTKINCDIR
47 echo CGNSINCDIR
= $CGNSINCDIR
48 echo CGNSLIBDIR
= $CGNSLIBDIR
50 echo LD_LIBRARY_PATH
= $LD_LIBRARY_PATH
52 echo "Building netgen"
53 .
/scripts
/build-nglib.sh
57 MSG
="Building engrid.pro debug version"
59 qmake
&& make distclean
&& qmake engrid.pro
&& make $MAKEOPTIONS debug || FAILURE
=1
66 MSG
="Building engrid.pro.cgns debug version"
68 qmake
&& make distclean
&& qmake engrid.pro.cgns
&& make $MAKEOPTIONS debug || FAILURE
=1
75 MSG
="Building engrid.pro release version"
77 qmake
&& make distclean
&& qmake engrid.pro
&& make $MAKEOPTIONS release || FAILURE
=1
84 MSG
="Building engrid.pro.cgns release version"
86 qmake
&& make distclean
&& qmake engrid.pro.cgns
&& make $MAKEOPTIONS release || FAILURE
=1
93 echo "SUCCESS: Everything compiles."