diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2016-12-23 20:34:38 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2016-12-30 10:25:47 +0000 |
commit | 7af6e9bbe6572dc7b692e5896d01e944ce63fa16 (patch) | |
tree | 0f11515091f6b6408d6feaa644258dce40e01ff9 /configure.bat | |
parent | 7549bbbacbdadacb283ae73ccb8b415a3dbe0c7c (diff) |
print help from all modules in top-level builds
this is rather hacky. a proper solution would auto-generate help from
the command line argument definitions, at the cost of needing to
bootstrap qmake first.
Change-Id: Iada6e25d5b31d7db0595309887f2d13295bbc1e3
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'configure.bat')
-rw-r--r-- | configure.bat | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.bat b/configure.bat index a5968e2ec7..c5daabfa65 100644 --- a/configure.bat +++ b/configure.bat @@ -84,6 +84,16 @@ goto doneargs :help type %QTSRC%\config_help.txt + if %TOPLEVEL% == true ( + for /d %%p in ("%TOPQTSRC%"\qt*) do ( + if not "%%p" == "%QTSRC%" ( + if exist "%%p\config_help.txt" ( + echo. + type "%%p\config_help.txt" + ) + ) + ) + ) exit /b 1 :redo |