- now use debug 2 for scanner and debug 4 for parser. Provided better feedback about what is being parsed (debug mode) - relocate debug application to applications/tools/foamExprParserInfo
26 lines
834 B
Bash
Executable File
26 lines
834 B
Bash
Executable File
#!/bin/sh
|
|
# Run from OPENFOAM applications/ directory only
|
|
cd "${0%/*}" || exit
|
|
wmakeCheckPwd "$WM_PROJECT_DIR/applications" 2>/dev/null || {
|
|
echo "Error (${0##*/}) : not located in \$WM_PROJECT_DIR/applications"
|
|
echo " Check your OpenFOAM environment and installation"
|
|
exit 1
|
|
}
|
|
[ -d "$WM_PROJECT_DIR" -a -f "$WM_PROJECT_DIR/etc/bashrc" ] || {
|
|
echo "Error (${0##*/}) : WM_PROJECT_DIR appears to be incorrect"
|
|
echo " Check your OpenFOAM environment and installation"
|
|
exit 1
|
|
}
|
|
|
|
. "$WM_PROJECT_DIR"/wmake/scripts/AllwmakeParseArguments
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
wmake -all $targetType solvers
|
|
wmake -all $targetType utilities
|
|
|
|
# Optional
|
|
## wmake -all $targetType tools
|
|
|
|
#------------------------------------------------------------------------------
|