Add sanitizers for cmake (#2608)
These can be enabled using the `SANITIZE_{ADDRESS,MEMORY,THREAD,UNDEFINED}` cmake flags
This commit is contained in:
@@ -45,6 +45,7 @@ add_executable(${PROJECT_NAME}
|
||||
${chatterino_SOURCES}
|
||||
${test_SOURCES}
|
||||
)
|
||||
add_sanitizers(${PROJECT_NAME})
|
||||
|
||||
# Enable autogeneration of Qts MOC/RCC/UIC
|
||||
set_target_properties(${PROJECT_NAME}
|
||||
|
||||
Reference in New Issue
Block a user