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