qt6-bb10/cmake/3rdparty
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
..
extra-cmake-modules Allow disabling sanitizers for specific subdirectories 2024-01-17 10:59:04 +01:00
kwin Apply fixes for SPDX compliance and easier parsing 2022-09-27 20:38:14 +02:00