Allwmake 564 Bytes
Newer Older
1
2
#!/bin/sh
cd ${0%/*} || exit 1    # run from this directory
3
#set -x
4
5
6

if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
then
7
8
9
10
    [ -n "$PV_PLUGIN_PATH" ] || {
        echo "$0 : PV_PLUGIN_PATH not valid - it is unset"
        exit 1
    }
11

12
13
    # ensure CMake gets the correct C++ compiler
    [ -n "$WM_CXX" ] && export CXX="$WM_CXX"
14

15
16
17
    wmake libso vtkPV3Readers
    PV3blockMeshReader/Allwmake
    PV3FoamReader/Allwmake
18
19
else
    echo "ERROR: ParaView not found in $ParaView_DIR"
20
21
22
fi

# ----------------------------------------------------------------- end-of-file