cmake: add flags to enable sanitizers on linux (#1284)

Sanitizers added: address, undefined behaviour, thread

also rename WICKED_USE_{IPO,SYMLINKS} to WICKED_ENABLE_{IPO,SYMLINKS}
for consistency with the other options.
This commit is contained in:
Dennis Brakhane
2025-11-04 17:17:59 +01:00
committed by GitHub
parent 88f9d899ad
commit d7e9cc90cd
10 changed files with 50 additions and 22 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ else()
set(LIB_DXCOMPILER "libdxcompiler.so")
endif ()
if(WICKED_USE_IPO)
if(WICKED_ENABLE_IPO)
set_target_properties(Example_ImGui_Docking PROPERTIES
INTERPROCEDURAL_OPTIMIZATION ON
INTERPROCEDURAL_OPTIMIZATION_DEBUG OFF