BUGFIX: Uninitialised member variables
[foam-extend-3.2.git] / applications / utilities / postProcessing / graphics / PV3FoamReader / Allwmake
blobd9c8bf299a6e3d06a7f98364adc0ef381a3c0e11
1 #!/bin/bash
2 cd ${0%/*} || exit 1 # run from this directory
3 set -x
5 if [ -d "$PARAVIEW_DIR" -a -r "$PARAVIEW_DIR" ]
6 then
7 case "$PARAVIEW_VERSION" in
8 3*)
9 wmake libso vtkPV3Foam
11 cd PV3FoamReader
12 mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
13 cd Make/$WM_OPTIONS
14 cmake ../..
15 if [ "$WM_ARCH_BASE" == "darwin" ]
16 then
17 sed -i bak -e 's/-dynamiclib /& -undefined dynamic_lookup /' CMakeFiles/PV3FoamReader.dir/link.txt
18 sed -i bak -e 's/-dynamiclib /& -undefined dynamic_lookup /' CMakeFiles/PV3FoamReader_SM.dir/link.txt
20 make
23 esac
26 # ----------------------------------------------------------------- end-of-file