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> |
||
|---|---|---|
| .. | ||
| ECMEnableSanitizers.cmake | ||
| ECMFindModuleHelpers.cmake | ||