mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Renamed PV4Readers -> PVReaders to avoid confusion when compiling the reader for ParaView-5
This commit is contained in:
29
applications/utilities/postProcessing/graphics/PVReaders/Allwmake
Executable file
29
applications/utilities/postProcessing/graphics/PVReaders/Allwmake
Executable file
@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
#set -x
|
||||
|
||||
case "$ParaView_VERSION" in
|
||||
4* | 5*)
|
||||
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
|
||||
then
|
||||
[ -n "$PV_PLUGIN_PATH" ] || {
|
||||
echo "$0 : PV_PLUGIN_PATH not valid - it is unset"
|
||||
exit 1
|
||||
}
|
||||
|
||||
# ensure CMake gets the correct C++ compiler
|
||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||
|
||||
wmake libso vtkPVReaders
|
||||
PVblockMeshReader/Allwmake
|
||||
PVFoamReader/Allwmake
|
||||
else
|
||||
echo "ERROR: ParaView not found in $ParaView_DIR"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "WARN: PV readers not building: ParaView_VERSION=$ParaView_VERSION"
|
||||
;;
|
||||
esac
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
Reference in New Issue
Block a user