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: add note about compilation location into Allwmake
· a0ba4961
Mark OLESEN
authored
Jun 10, 2022
a0ba4961
Hide whitespace changes
Inline
Side-by-side
Allwclean
View file @
a0ba4961
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
#------------------------------------------------------------------------------
...
...
Allwmake
View file @
a0ba4961
#!/bin/sh
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
targetType
=
libso
# Parse arguments for library compilation
if
[
-f
"
$WM_PROJECT_DIR
"
/wmake/scripts/AllwmakeParseArguments
]
then
.
"
$WM_PROJECT_DIR
"
/wmake/scripts/AllwmakeParseArguments
fi
.
"
${
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"
#------------------------------------------------------------------------------
...
...
@@ -22,11 +19,9 @@ echo " ${WM_OPTIONS}, with ${WM_MPLIB} ${FOAM_MPI}"
echo
" prefix =
${
FOAM_MODULE_PREFIX
:-
default
(user)
}
"
echo
src/Allwmake
$targetType
$*
applications/Allwmake
$targetType
$*
# Some summary information
echo
date
"+%Y-%m-%d %H:%M:%S %z"
2>/dev/null
||
echo
"date is unknown"
...
...
applications/Allwmake
View file @
a0ba4961
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
# Parse arguments for library compilation
if
[
-f
$WM_PROJECT_DIR
/wmake/scripts/AllwmakeParseArguments
]
then
.
$WM_PROJECT_DIR
/wmake/scripts/AllwmakeParseArguments
fi
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
"
${
WM_PROJECT_DIR
:?
}
"
/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
wmake
-all
$targetType
solvers
...
...
src/Allwmake
View file @
a0ba4961
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
# Parse arguments for library compilation
if
[
-f
$WM_PROJECT_DIR
/wmake/scripts/AllwmakeParseArguments
]
then
.
$WM_PROJECT_DIR
/wmake/scripts/AllwmakeParseArguments
fi
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
"
${
WM_PROJECT_DIR
:?
}
"
/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
wmake
$targetType
avalanche
...
...