mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: add version information to wmake
- wmake -version, --version option (alias for -show-api) for consistency with standard system tools
This commit is contained in:
committed by
Andrew Heather
parent
52d2643994
commit
17d159d76d
@ -88,6 +88,7 @@ options:
|
||||
-show-cxxflags Print C++ compiler flags
|
||||
-show-cflags-arch The C compiler arch flag (eg, -m64 etc)
|
||||
-show-cxxflags-arch The C++ compiler arch flag (eg, -m64 etc)
|
||||
-version | --version Print the api value
|
||||
-h | -help Print the usage
|
||||
|
||||
|
||||
@ -196,6 +197,11 @@ do
|
||||
update=true
|
||||
: ${all:=all} # implies 'all', unless previous set to 'queue' etc.
|
||||
;;
|
||||
-version | --version)
|
||||
$make -f $WM_DIR/makefiles/info api
|
||||
optShow=true
|
||||
break;
|
||||
;;
|
||||
--)
|
||||
shift
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user