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

andy's avatar
andy committed
5
if [ "$ParaView_VERSION" != "4.0.1" ]
6
7
8
9
10
11
12
    then
    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
        }
13

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

17
18
19
20
21
22
        wmake libso vtkPV3Readers
        PV3blockMeshReader/Allwmake
        PV3FoamReader/Allwmake
    else
        echo "ERROR: ParaView not found in $ParaView_DIR"
    fi
23
else
24
    echo "WARN: PV3 readers not building: ParaView_VERSION=$ParaView_VERSION"
25
26
27
fi

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