CMake: Update description of LTCG

Use the full name of LTCG to make it clearer to the user.

As a drive-by, also remove the "Intel" word from the
CET feature's title, according to MSVC & GCC's manual,
they don't contain "Intel" in the feature title either.

Change-Id: I099ba6c5e7470b5699c1ab6b3c4ef2a4bf084580
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Yuhang Zhao 2022-07-17 15:09:12 +08:00
parent ce9799e4c4
commit 4fbb7db08c

View File

@ -640,7 +640,7 @@ else()
unset(__qt_uc_config)
endif()
qt_feature("ltcg"
LABEL "Using LTCG"
LABEL "Using Link Time Optimization (LTO/LTCG)"
AUTODETECT ON
CONDITION __qt_ltcg_detected
)
@ -983,7 +983,7 @@ qt_feature("relocatable" PRIVATE
CONDITION QT_FEATURE_dlopen OR WIN32 OR NOT QT_FEATURE_shared
)
qt_feature("intelcet" PRIVATE
LABEL "Using Intel Control-flow Enforcement Technology (CET)"
LABEL "Using Control-flow Enforcement Technology (CET)"
CONDITION ( INPUT_intelcet STREQUAL yes ) OR TEST_intelcet
)
qt_configure_add_summary_build_type_and_config()