From ba27167b2ee9eedd3cc8415ff98539b64a2cc49c Mon Sep 17 00:00:00 2001 From: Allen Hill Date: Sun, 3 Sep 2023 19:29:23 -0400 Subject: [PATCH] Add RelWithDebInfo build preset --- CMakePresets.json | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index f453942..aa195e1 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -2,14 +2,24 @@ "version": 2, "configurePresets": [ { - "name": "main", - "displayName": "Default", - "description": "Use Unix Makefiles generator; set build directory", + "name": "default", + "displayName": "Debug", + "description": "Configure with Debug build settings", "generator": "Unix Makefiles", "binaryDir": "${sourceDir}/build", "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } + }, + { + "name": "relwithdebinfo", + "displayName": "RelWithDebInfo", + "description": "Configure with RelWithDebInfo build settings", + "generator": "Unix Makefiles", + "binaryDir": "${sourceDir}/build", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "RelWithDebInfo" + } } ] } \ No newline at end of file