From ab1632a4bebe4428a93938dee5925e127117c483 Mon Sep 17 00:00:00 2001 From: songruining Date: Fri, 23 Aug 2024 16:48:31 +0800 Subject: [PATCH] fix(cmake-preset): add configuration property for build presets --- CMakePresets.json | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index a9b6f26c..bdaea0bd 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -138,49 +138,57 @@ "name": "msvc_2022_debug", "displayName": "Debug", "configurePreset": "msvc_2022_debug", - "jobs": 8 + "jobs": 8, + "configuration": "Debug" }, { "name": "msvc_2022_release", "displayName": "Release", "configurePreset": "msvc_2022_release", - "jobs": 8 + "jobs": 8, + "configuration": "Release" }, { "name": "msvc_2022_relwithdebinfo", "displayName": "RelWithDebInfo", "configurePreset": "msvc_2022_relwithdebinfo", - "jobs": 8 + "jobs": 8, + "configuration": "RelWithDebInfo" }, { "name": "msvc_2022_minsizerel", "displayName": "MinSizeRel", "configurePreset": "msvc_2022_minsizerel", - "jobs": 8 + "jobs": 8, + "configuration": "MinSizeRel" }, { "name": "msvc_2019_debug", "displayName": "Debug", "configurePreset": "msvc_2019_debug", - "jobs": 8 + "jobs": 8, + "configuration": "Debug" }, { "name": "msvc_2019_release", "displayName": "Release", "configurePreset": "msvc_2019_release", - "jobs": 8 + "jobs": 8, + "configuration": "Release" }, { "name": "msvc_2019_relwithdebinfo", "displayName": "RelWithDebInfo", "configurePreset": "msvc_2019_relwithdebinfo", - "jobs": 8 + "jobs": 8, + "configuration": "RelWithDebInfo" }, { "name": "msvc_2019_minsizerel", "displayName": "MinSizeRel", "configurePreset": "msvc_2019_minsizerel", - "jobs": 8 + "jobs": 8, + "configuration": "MinSizeRel" } ], "testPresets": [