CMake: Display CMAKE_BUILD_TYPE when including QtSetup
This will show the CMAKE_BUILD_TYPE that was computed for a configured repo or standalone tests, after the logic in QtBuildInternalsExtra.cmake is executed. Change-Id: Ib8ffa2c7806a4c16385a2fcd4500f8a0f6a9aa88 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 0d5dc56554988edb87cb1575220a107c8a1f9cc4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
6b0fe01baf
commit
e98abaa22f
@ -35,6 +35,8 @@ elseif(CMAKE_CONFIGURATION_TYPES)
|
||||
message(STATUS
|
||||
"Default build configuration set to '${CMAKE_NINJA_MULTI_DEFAULT_BUILD_TYPE}'.")
|
||||
endif()
|
||||
else()
|
||||
message(STATUS "CMAKE_BUILD_TYPE was set to: '${CMAKE_BUILD_TYPE}'")
|
||||
endif()
|
||||
|
||||
# Appends a 'debug postfix' to library targets (not executables)
|
||||
|
Loading…
x
Reference in New Issue
Block a user