openfoam/applications/utilities/postProcessing/graphics/PV3Readers/Allwmake
Mark Olesen 4148c975f9 ENH: ensure CMake gets the correct C++ compiler (works with cmake 2.8.3)
- remove settings for really old cmake versions
2010-12-30 16:58:25 +01:00

27 lines
608 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
case "$ParaView_VERSION" in
3* | git)
if [ ! -n "${PV_PLUGIN_PATH}" ]
then
echo "$0 : PV_PLUGIN_PATH not a valid."
exit 1
fi
# ensure CMake gets the correct C++ compiler
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
wmake libso vtkPV3Readers
PV3blockMeshReader/Allwmake
PV3FoamReader/Allwmake
;;
esac
fi
# ----------------------------------------------------------------- end-of-file