Skip building debug bootstrap lib for CMake 3.20 and multi-config build
When building qtbase with CMake 3.20, only release tools will be built by default in a multi-config build, so it is possible to skip building debug bootstrap lib. Task-number: QTBUG-88414 Change-Id: I266ac458ae3c89c593656e4ebdc788ae5797b788 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>bb10
parent
6fff7bb269
commit
19bb9837a1
|
|
@ -289,4 +289,9 @@ qt_internal_extend_target(Bootstrap CONDITION MSVC
|
|||
DEFINES
|
||||
_CRT_SECURE_NO_WARNINGS
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.20.0" AND QT_FEATURE_debug_and_release)
|
||||
set_property(TARGET Bootstrap
|
||||
PROPERTY EXCLUDE_FROM_ALL "$<NOT:$<CONFIG:${QT_MULTI_CONFIG_FIRST_CONFIG}>>")
|
||||
endif()
|
||||
# special case end
|
||||
|
|
|
|||
Loading…
Reference in New Issue