Skip to content
Snippets Groups Projects
Commit f4a65fd3 authored by Graham Pentheny's avatar Graham Pentheny
Browse files

Enable UBSan and ASan when building tests with clang

parent 5c494ad1
No related branches found
No related tags found
No related merge requests found
......@@ -238,6 +238,11 @@ project "Tests"
-- distribute executable in RecastDemo/Bin directory
targetdir "Bin"
-- enable ubsan and asan when compiling with clang
filter "toolset:clang"
buildoptions { "-fsanitize=undefined", "-fsanitize=address" } -- , "-fsanitize=memory" }
linkoptions { "-fsanitize=undefined", "-fsanitize=address" } --, "-fsanitize=memory" }
-- linux library cflags and libs
filter "system:linux"
buildoptions {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment