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 <alexandru.croitor@qt.io>
This commit is contained in:
Giuseppe D'Angelo 2025-03-05 11:51:28 +01:00
parent 84d6309cf1
commit 077412a3cf

View File

@ -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=<backend> | |
| | or -DFEATURE_<backend> | |
| -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 | |