From 02427c51bc9c1b47b5bbd5a080d651a34eb5ff65 Mon Sep 17 00:00:00 2001 From: Angad <66992519+ThirdEyeSqueegee@users.noreply.github.com> Date: Wed, 25 Oct 2023 13:37:41 -0700 Subject: [PATCH] chore: add `CMAKE_CONFIGURATION_TYPES` to CMakePresets (#202) Should fix #201 --- 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" } }, {