Skip to content
Snippets Groups Projects
Commit 0dcd6964 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

STYLE: catch erroneous -prefix=false compilations

parent 1e726c52
No related merge requests found
......@@ -2,13 +2,18 @@
cd "${0%/*}" || exit # Run from this directory
targetType=libso
. "${WM_PROJECT_DIR:?}"/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
# Build into FOAM_USER_{APPBIN,LIBBIN} unless otherwise specified with
# -prefix or FOAM_MODULE_{APPBIN,LIBBIN} env varables
#------------------------------------------------------------------------------
moduleName="adiosFoam"
if [ "$FOAM_MODULE_PREFIX" = false ]
then
echo "Compilation of $moduleName is disabled (prefix=false)"
exit 0
fi
echo "========================================"
date "+%Y-%m-%d %H:%M:%S %z" 2>/dev/null || echo "date is unknown"
echo "Starting compile of $moduleName with ${WM_PROJECT_DIR##*/} ${0##*}"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment