21 lines
447 B
Bash
Executable file
21 lines
447 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*)
|
|
wmake libso vtkPV3Foam
|
|
(
|
|
cd PV3FoamReader
|
|
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
|
|
cd Make/$WM_OPTIONS
|
|
cmake ../..
|
|
make
|
|
)
|
|
;;
|
|
esac
|
|
fi
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|