CMake: Enable verbose autogen for cmake auto tests and EP examples
So we can see the exact moc invocations when debugging issues in the CI. For ExternalProject examples, it is conditional on whether Qt is configured with QT_INTERNAL_VERBOSE_EXAMPLES set to ON, otherwise calling the main ninja without -v will end up cluttering the output with AUTOGEN output. Pick-to: 6.2 6.3 Change-Id: I6468ab0e461b3be283e2428e3515cae4d5986242 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
64d5708458
commit
70c3dd4a54
@ -1049,6 +1049,7 @@ function(qt_internal_add_example_external_project subdir)
|
||||
|
||||
if(QT_INTERNAL_VERBOSE_EXAMPLES)
|
||||
list(APPEND var_defs -DCMAKE_MESSAGE_LOG_LEVEL:STRING=DEBUG)
|
||||
list(APPEND var_defs -DCMAKE_AUTOGEN_VERBOSE:BOOL=TRUE)
|
||||
endif()
|
||||
|
||||
set(deps "")
|
||||
|
@ -64,6 +64,7 @@ function(_qt_internal_get_cmake_test_configure_options out_var)
|
||||
endif()
|
||||
|
||||
list(APPEND option_list "-DCMAKE_MESSAGE_LOG_LEVEL=DEBUG")
|
||||
list(APPEND option_list "-DCMAKE_AUTOGEN_VERBOSE=TRUE")
|
||||
|
||||
if(APPLE AND CMAKE_OSX_ARCHITECTURES)
|
||||
list(LENGTH CMAKE_OSX_ARCHITECTURES osx_arch_count)
|
||||
|
Loading…
Reference in New Issue
Block a user