Skip to content
Snippets Groups Projects
Allwmake 787 B
Newer Older
#!/bin/sh
cd ${0%/*} || exit 1    # run from this directory
#set -x

Henry's avatar
Henry committed
if [ "$ParaView_VERSION" == "4.0.1" -o "$ParaView_VERSION" == "4.1.0" ]
    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
        }
        # ensure CMake gets the correct C++ compiler
        [ -n "$WM_CXX" ] && export CXX="$WM_CXX"
andy's avatar
andy committed
        wmake libso vtkPV4Readers
        PV4blockMeshReader/Allwmake
        PV4FoamReader/Allwmake
    else
        echo "ERROR: ParaView not found in $ParaView_DIR"
    fi
andy's avatar
andy committed
    echo "WARN: PV4 readers not building: ParaView_VERSION=$ParaView_VERSION"
fi

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