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
· 0dcd6964
Mark OLESEN
authored
Jun 23, 2022
0dcd6964
Hide whitespace changes
Inline
Side-by-side
Allwmake
View file @
0dcd6964
...
...
@@ -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
##*
}
"
...
...