diff --git a/CMakePresets.json b/CMakePresets.json index 7fe40b5f6e9b..7fa0ec43b2f0 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -15,7 +15,7 @@ { "name": "ci", "hidden": true, - "inherits": "default", + "inherits": "base", "toolchainFile": "${sourceDir}/cmake/toolchain.${presetName}.cmake", "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" @@ -165,28 +165,6 @@ } } ], - "buildPresets": [ - { - "name": "linux-x64-asan", - "configurePreset": "linux-x64-asan", - "displayName": "ASAN (Linux x64)", - "description": "Build everything with ASAN enabled" - } - ], - "testPresets": [ - { - "name": "linux-x64-asan", - "configurePreset": "linux-x64-asan", - "displayName": "ASAN (Linux x64)", - "description": "Test everything with ASAN enabled", - "environment": { - "ASAN_OPTIONS": "detect_leaks=0:detect_container_overflow=0" - }, - "output": { - "outputOnFailure": true - } - } - ], "buildPresets": [ { "name": "debug", @@ -199,6 +177,12 @@ "configurePreset": "release", "displayName": "Release", "description": "Release build with no special settings" + }, + { + "name": "linux-x64-asan", + "configurePreset": "linux-x64-asan", + "displayName": "ASAN (Linux x64)", + "description": "Build everything with ASAN enabled" } ], "testPresets": [ @@ -219,6 +203,18 @@ "output": { "outputOnFailure": true } + }, + { + "name": "linux-x64-asan", + "configurePreset": "linux-x64-asan", + "displayName": "ASAN (Linux x64)", + "description": "Test everything with ASAN enabled", + "environment": { + "ASAN_OPTIONS": "detect_leaks=0:detect_container_overflow=0" + }, + "output": { + "outputOnFailure": true + } } ] }