Skip to content

Commit

Permalink
Update CMakePresets.json
Browse files Browse the repository at this point in the history
-  Move all-dev-debug to live near all-dev.
- Add build/test presets to round out the all-dev-debug config.
  • Loading branch information
alliepiper committed May 1, 2024
1 parent 92441d0 commit f47c30c
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -271,23 +281,17 @@
"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": [
{
"name": "all-dev",
"configurePreset": "all-dev"
},
{
"name": "all-dev-debug",
"configurePreset": "all-dev-debug"
},
{
"name": "libcudacxx-codegen",
"configurePreset": "libcudacxx-codegen",
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit f47c30c

Please sign in to comment.