Skip to content
GitLab
Explore
Sign in
Register
This is an archived project. Repository and other project resources are read-only.
Commits on Source (1)
STYLE: catch erroneous -prefix=false compilations
· 8f0055e0
Mark OLESEN
authored
Jun 23, 2022
8f0055e0
Hide whitespace changes
Inline
Side-by-side
Allwmake
View file @
8f0055e0
...
...
@@ -2,14 +2,17 @@
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
=
"avalanche"
#------------------------------------------------------------------------------
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"
...
...