Add cmake option to optionally compile with LeakSanitizer

Alse change the description of the existing option SANITIZE_ADDRESS to avoid ambiguity.
Daniele Forsi 2024-04-06 20:54:57 +02:00
rodzic 98f5e610d7
commit eecf1a822b
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -25,7 +25,8 @@ set(sdrangel_VERSION_SUFFIX "")
# SDRAngel cmake options
option(DEBUG_OUTPUT "Print debug messages" OFF)
option(SANITIZE_ADDRESS "Activate memory address sanitization" OFF)
option(SANITIZE_ADDRESS "Activate detection of uninitialized memory (AddressSanitizer)" OFF)
option(SANITIZE_MEMORY "Activate detection of leaked memory (LeakSanitizer)" OFF)
option(RX_SAMPLE_24BIT "Internal 24 bit Rx DSP" ON)
option(BUILD_SERVER "Build Server" ON)
option(BUILD_GUI "Build GUI" ON)