openfoam/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/Allwmake
Mark Olesen 3c30eca1cc STYLE: drop check for paraview versions
- we don't support paraview < 3.x anymore
2011-03-28 11:07:10 +02:00

18 lines
391 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
then
wmake libso vtkPV3blockMesh
(
cd PV3blockMeshReader
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
cd Make/$WM_OPTIONS
cmake ../..
make
)
fi
# ----------------------------------------------------------------- end-of-file