From 077412a3cfd52b326cdba768156683cd94841330 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Wed, 5 Mar 2025 11:51:28 +0100 Subject: [PATCH] CMake: map more -sanitize options in the doc These were supported by Qt 5's configure. Pick-to: 6.9 6.8 Change-Id: I3d902bb9e211f1dfecbf0835203e7b9e60fb41f6 Reviewed-by: Alexandru Croitor --- cmake/configure-cmake-mapping.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake/configure-cmake-mapping.md b/cmake/configure-cmake-mapping.md index ccb376669fb..95b1215ddce 100644 --- a/cmake/configure-cmake-mapping.md +++ b/cmake/configure-cmake-mapping.md @@ -58,8 +58,10 @@ The following table describes the mapping of configure options to CMake argument | -gcov | -DINPUT_coverage=gcov | Enables code coverage using the gcov tool. | | -trace [backend] | -DINPUT_trace=yes or -DINPUT_trace= | | | | or -DFEATURE_ | | -| -sanitize address -sanitize undefined | -DFEATURE_sanitize_address=ON | Directly setting -DECM_ENABLE_SANITIZERS=foo is not supported | -| | -DFEATURE_sanitize_undefined=ON | | +| -sanitize address | -DFEATURE_sanitize_address=ON | Directly setting -DECM_ENABLE_SANITIZERS=foo is not supported | +| -sanitize undefined | -DFEATURE_sanitize_undefined=ON | See above. | +| -sanitize thread | -DFEATURE_sanitize_thread=ON | See above. | +| -sanitize memory | -DFEATURE_sanitize_memory=ON | See above. | | -c++std c++20 | -DFEATURE_cxx20=ON | | | -sse2/-sse3/-ssse3/-sse4.1 | -DFEATURE_sse4=ON | | | -mips_dsp/-mips_dspr2 | -DFEATURE_mips_dsp=ON | |