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
· 08832a0f
Mark OLESEN
authored
Jun 23, 2022
08832a0f
Hide whitespace changes
Inline
Side-by-side
Allwmake
View file @
08832a0f
#!/bin/sh
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
"
${
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
=
"cfmesh"
#------------------------------------------------------------------------------
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"
...
...