STYLE: drop check for paraview versions

- we don't support paraview < 3.x anymore
This commit is contained in:
Mark Olesen
2011-03-28 11:07:10 +02:00
parent 02c235271b
commit 3c30eca1cc
4 changed files with 33 additions and 50 deletions

View File

@ -4,14 +4,10 @@ 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."
[ -n "$PV_PLUGIN_PATH" ] || {
echo "$0 : PV_PLUGIN_PATH not valid - it is unset"
exit 1
fi
}
# ensure CMake gets the correct C++ compiler
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
@ -19,8 +15,6 @@ then
wmake libso vtkPV3Readers
PV3blockMeshReader/Allwmake
PV3FoamReader/Allwmake
;;
esac
fi
# ----------------------------------------------------------------- end-of-file

View File

@ -4,8 +4,6 @@ set -x
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
then
case "$ParaView_VERSION" in
3* | git)
wmake libso vtkPV3Foam
(
cd PV3FoamReader
@ -14,8 +12,6 @@ then
cmake ../..
make
)
;;
esac
fi
# ----------------------------------------------------------------- end-of-file

View File

@ -4,8 +4,6 @@ set -x
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
then
case "$ParaView_VERSION" in
3* | git)
wmake libso vtkPV3blockMesh
(
cd PV3blockMeshReader
@ -14,8 +12,6 @@ then
cmake ../..
make
)
;;
esac
fi
# ----------------------------------------------------------------- end-of-file

View File

@ -168,8 +168,7 @@ builtin | OpenFOAM)
;;
esac
case "$ParaView_VERSION" in
3* | git)
# only create/remove caseFile if it didn't already exist
[ -e $caseFile ] || {
trap "rm -f $caseFile 2>/dev/null; exit 0" EXIT TERM INT
@ -178,7 +177,5 @@ case "$ParaView_VERSION" in
}
paraview --data="$caseFile"
;;
esac
#------------------------------------------------------------------------------