mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Cleaned-up build of multiple PV readers
This commit is contained in:
@ -2,21 +2,26 @@
|
|||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
#set -x
|
#set -x
|
||||||
|
|
||||||
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
if [ "$ParaView_VERSION" == "3.98.1" ]
|
||||||
then
|
then
|
||||||
[ -n "$PV_PLUGIN_PATH" ] || {
|
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
||||||
echo "$0 : PV_PLUGIN_PATH not valid - it is unset"
|
then
|
||||||
exit 1
|
[ -n "$PV_PLUGIN_PATH" ] || {
|
||||||
}
|
echo "$0 : PV_PLUGIN_PATH not valid - it is unset"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
# ensure CMake gets the correct C++ compiler
|
# ensure CMake gets the correct C++ compiler
|
||||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||||
|
|
||||||
wmake libso vtkPV398Readers
|
wmake libso vtkPV398Readers
|
||||||
PV398blockMeshReader/Allwmake
|
PV398blockMeshReader/Allwmake
|
||||||
PV398FoamReader/Allwmake
|
PV398FoamReader/Allwmake
|
||||||
|
else
|
||||||
|
echo "ERROR: ParaView not found in $ParaView_DIR"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "ERROR: ParaView not found in $ParaView_DIR"
|
echo "WARN: PV398 readers not building: ParaView_VERSION=$ParaView_VERSION"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -2,21 +2,26 @@
|
|||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
#set -x
|
#set -x
|
||||||
|
|
||||||
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
if [ "$ParaView_VERSION" != "3.98.1" ]
|
||||||
then
|
then
|
||||||
[ -n "$PV_PLUGIN_PATH" ] || {
|
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
||||||
echo "$0 : PV_PLUGIN_PATH not valid - it is unset"
|
then
|
||||||
exit 1
|
[ -n "$PV_PLUGIN_PATH" ] || {
|
||||||
}
|
echo "$0 : PV_PLUGIN_PATH not valid - it is unset"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
# ensure CMake gets the correct C++ compiler
|
# ensure CMake gets the correct C++ compiler
|
||||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||||
|
|
||||||
wmake libso vtkPV3Readers
|
wmake libso vtkPV3Readers
|
||||||
PV3blockMeshReader/Allwmake
|
PV3blockMeshReader/Allwmake
|
||||||
PV3FoamReader/Allwmake
|
PV3FoamReader/Allwmake
|
||||||
|
else
|
||||||
|
echo "ERROR: ParaView not found in $ParaView_DIR"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "ERROR: ParaView not found in $ParaView_DIR"
|
echo "WARN: PV3 readers not building: ParaView_VERSION=$ParaView_VERSION"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
Reference in New Issue
Block a user