qt6-bb10/cmake/3rdparty/extra-cmake-modules/modules
Alexey Edelev 6a921b6751 Allow disabling sanitizers for specific subdirectories
This introduces two new function that cleans up the sanitizer flags
and disable linking of the sanitizer libraries.

The qt_internal_skip_sanitizer function clears the sanitizer flags that
are set in CMAKE_<C|CXX>_FLAGS variables by ECMEnableSanitizers.cmake.

qt_internal_skip_linking_sanitizer collects all targets that are
created in subdirectory and disables linking the asan targets.

The asan target linking can be also disabled by setting
SKIP_SANITIZER on specific target.

Pick-to: 6.7
Change-Id: Ibbbbec0b4a6bfd37d939b8a55f8d04656f73c536
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-01-17 10:59:04 +01:00
..
ECMEnableSanitizers.cmake Allow disabling sanitizers for specific subdirectories 2024-01-17 10:59:04 +01:00
ECMFindModuleHelpers.cmake Remove the Unnecessary CMake Module, `include(CMakeParseArguments)` 2022-10-25 20:14:35 +02:00