Add cmake option to optionally compile with LeakSanitizer

Alse change the description of the existing option SANITIZE_ADDRESS to avoid ambiguity.
This commit is contained in:
Daniele Forsi 2024-04-06 20:54:57 +02:00
parent 5e321e3ead
commit 4b48a7764f
1 changed files with 2 additions and 1 deletions

View File

@ -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)