summaryrefslogtreecommitdiff
path: root/CMakePresets.json
diff options
context:
space:
mode:
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
index 4ee51a5..d1cd015 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -18,6 +18,16 @@
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows"
}
+ },
+ {
+ "name": "windows-vs2026-asan",
+ "displayName": "Windows x64 - Visual Studio 2026 ASan",
+ "description": "Debug build with MSVC AddressSanitizer enabled.",
+ "inherits": "windows-vs2026",
+ "binaryDir": "${sourceDir}/build/windows-vs2026-asan",
+ "cacheVariables": {
+ "TINY_CONVMEM_ENABLE_ASAN": "ON"
+ }
}
],
"buildPresets": [
@@ -30,6 +40,11 @@
"name": "windows-vs2026-release",
"configurePreset": "windows-vs2026",
"configuration": "Release"
+ },
+ {
+ "name": "windows-vs2026-asan",
+ "configurePreset": "windows-vs2026-asan",
+ "configuration": "Debug"
}
],
"testPresets": [
@@ -48,6 +63,14 @@
"output": {
"outputOnFailure": true
}
+ },
+ {
+ "name": "windows-vs2026-asan",
+ "configurePreset": "windows-vs2026-asan",
+ "configuration": "Debug",
+ "output": {
+ "outputOnFailure": true
+ }
}
]
}