From edf0d9b7bbc5e6649aeb0b503c5f4e1888f33001 Mon Sep 17 00:00:00 2001 From: sideshowbarker Date: Wed, 28 Aug 2024 14:54:49 +0900 Subject: [PATCH] CMake: Enable running unit tests with a Debug build/preset --- CMakePresets.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakePresets.json b/CMakePresets.json index ccae939d40f..d1bda833ae4 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -131,6 +131,11 @@ "ASAN_OPTIONS": "strict_string_checks=1:check_initialization_order=1:strict_init_order=1:detect_stack_use_after_return=1:allocator_may_return_null=1", "UBSAN_OPTIONS": "print_stacktrace=1:print_summary=1:halt_on_error=1" } + }, + { + "name": "Debug", + "inherits": "default", + "configurePreset": "Debug" } ] }