File size: 454 Bytes
5a600cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
cd ${0%/*} || exit 1    # Run from this directory

# Parse arguments for library compilation
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments

# Build if Scotch is enabled
case $SCOTCH_TYPE in
none)
    ;;
*)
    . $($WM_PROJECT_DIR/bin/foamEtcFile config.sh/scotch)
    echo "    using SCOTCH_ARCH_PATH=$SCOTCH_ARCH_PATH"
    wmake $targetType
    ;;
esac

#------------------------------------------------------------------------------