Skip to content
Snippets Groups Projects
Commit 3768773e authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

COMP: add version information to wmake

- wmake -version, --version option (alias for -show-api)
  for consistency with standard system tools
parent 1c941055
Branches
Tags
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment