Map the 'verbose' configure option to CMake
Raise the CMake log level to STATUS when the 'verbose' argument is passed to the configure script. Change-Id: I736d95ab66b115f8416eec7f9e2ee96d1580c78d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
878984a014
commit
6569a4068b
@ -120,6 +120,8 @@ while(NOT "${configure_args}" STREQUAL "")
|
||||
set(cmake_file_api TRUE)
|
||||
elseif(arg STREQUAL "-no-cmake-file-api")
|
||||
set(cmake_file_api FALSE)
|
||||
elseif(arg STREQUAL "-verbose")
|
||||
list(APPEND cmake_args "--log-level=STATUS")
|
||||
elseif(arg STREQUAL "--")
|
||||
# Everything after this argument will be passed to CMake verbatim.
|
||||
list(APPEND cmake_args "${configure_args}")
|
||||
|
@ -9,7 +9,7 @@ The following table describes the mapping of configure options to CMake argument
|
||||
| -bindir <dir> | -DINSTALL_BINDIR=<dir> | similar for -headerdir -libdir and so on |
|
||||
| -hostdatadir <dir> | -DINSTALL_MKSPECSDIR=<dir> | |
|
||||
| -help | n/a | Handled by configure[.bat]. |
|
||||
| -verbose | | |
|
||||
| -verbose | --log-level=STATUS | Sets the CMake log level to STATUS. The default one is NOTICE. |
|
||||
| -continue | | |
|
||||
| -redo | n/a | Handled by configure[.bat]. |
|
||||
| -recheck [test,...] | | |
|
||||
|
Loading…
Reference in New Issue
Block a user