From 896d8979844c3a0572b6cd2ff7ed695e7bdaab24 Mon Sep 17 00:00:00 2001 From: Angad <66992519+ThirdEyeSqueegee@users.noreply.github.com> Date: Wed, 25 Oct 2023 11:11:46 -0700 Subject: [PATCH] chore: add CMAKE_CONFIGURATION_TYPES to CMakePresets --- CommonLibSF/CMakePresets.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/CommonLibSF/CMakePresets.json b/CommonLibSF/CMakePresets.json index 2b9b2338..a03065a0 100644 --- a/CommonLibSF/CMakePresets.json +++ b/CommonLibSF/CMakePresets.json @@ -28,7 +28,8 @@ "name": "buildtype-debug-msvc", "hidden": true, "cacheVariables": { - "CMAKE_BUILD_TYPE": "Debug" + "CMAKE_BUILD_TYPE": "Debug", + "CMAKE_CONFIGURATION_TYPES": "Debug" } }, { @@ -36,14 +37,16 @@ "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Release", - "CMAKE_CXX_FLAGS_RELEASE": "/fp:fast /GR- /Gw /O2 /Ob3 /Qpar" + "CMAKE_CXX_FLAGS_RELEASE": "/fp:fast /GR- /Gw /O2 /Ob3 /Qpar", + "CMAKE_CONFIGURATION_TYPES": "Release" } }, { "name": "buildtype-debug-clang-cl", "hidden": true, "cacheVariables": { - "CMAKE_BUILD_TYPE": "Debug" + "CMAKE_BUILD_TYPE": "Debug", + "CMAKE_CONFIGURATION_TYPES": "Debug" } }, { @@ -51,7 +54,8 @@ "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Release", - "CMAKE_CXX_FLAGS_RELEASE": "/fp:fast /GR- /Gw /O2" + "CMAKE_CXX_FLAGS_RELEASE": "/fp:fast /GR- /Gw /O2", + "CMAKE_CONFIGURATION_TYPES": "Release" } }, {