From f47c30ce7044342325f8761dcfb9132e15632c4e Mon Sep 17 00:00:00 2001 From: Allison Piper Date: Wed, 1 May 2024 17:54:24 -0400 Subject: [PATCH] Update CMakePresets.json - Move all-dev-debug to live near all-dev. - Add build/test presets to round out the all-dev-debug config. --- CMakePresets.json | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index f24ec76839..dbbc80a4d9 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -56,6 +56,16 @@ "THRUST_MULTICONFIG_ENABLE_SYSTEM_TBB": true } }, + { + "name": "all-dev-debug", + "displayName": "all-dev debug", + "inherits": "all-dev", + "cacheVariables":{ + "CCCL_ENABLE_BENCHMARKS": false, + "CMAKE_BUILD_TYPE": "Debug", + "CMAKE_CUDA_FLAGS": "-G" + } + }, { "name": "libcudacxx-codegen", "displayName": "libcu++: codegen", @@ -271,16 +281,6 @@ "CCCL_ENABLE_EXAMPLES": true, "CCCL_ENABLE_TESTING": true } - }, - { - "name": "all-dev-debug", - "displayName": "all-dev debug", - "inherits": "all-dev", - "cacheVariables":{ - "CCCL_ENABLE_BENCHMARKS": false, - "CMAKE_BUILD_TYPE": "Debug", - "CMAKE_CUDA_FLAGS": "-G" - } } ], "buildPresets": [ @@ -288,6 +288,10 @@ "name": "all-dev", "configurePreset": "all-dev" }, + { + "name": "all-dev-debug", + "configurePreset": "all-dev-debug" + }, { "name": "libcudacxx-codegen", "configurePreset": "libcudacxx-codegen", @@ -411,6 +415,11 @@ "configurePreset": "all-dev", "inherits": "base" }, + { + "name": "all-dev-debug", + "configurePreset": "all-dev-debug", + "inherits": "all-dev" + }, { "name": "libcudacxx-ctest-base", "hidden": true,