Skip to content

Commit bc9c673

Browse files
committed
Update CMakePresets.json
1 parent d102375 commit bc9c673

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

CMakePresets.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,39 @@
22
"version": 3,
33
"cmakeMinimumRequired": {
44
"major": 3,
5-
"minor":
5+
"minor": 18
66
},
77
"configurePresets": [
88
{
9-
"name": "base-release",
10-
"hidden": true,
9+
"name": "release",
10+
"displayName": "Release Build",
1111
"description": "Base preset for release builds",
12+
"binaryDir": "${sourceDir}/build/release",
1213
"cacheVariables": {
1314
"CMAKE_BUILD_TYPE": "Release",
1415
"CMAKE_CXX_STANDARD": "17"
1516
}
1617
},
1718
{
18-
"name": "base-debug",
19-
"hidden": true,
19+
"name": "debug",
20+
"displayName": "Debug Build",
2021
"description": "Base preset for debug builds",
22+
"binaryDir": "${sourceDir}/build/debug",
2123
"cacheVariables": {
2224
"CMAKE_BUILD_TYPE": "Debug",
2325
"CMAKE_CXX_STANDARD": "17"
2426
}
2527
},
2628
{
2729
"name": "default",
28-
"inherits": "base-release",
30+
"inherits": "release",
2931
"displayName": "Default Configuration",
3032
"description": "Default build configuration",
3133
"binaryDir": "${sourceDir}/build/default"
3234
},
3335
{
3436
"name": "cuda",
35-
"inherits": "base-release",
37+
"inherits": "release",
3638
"displayName": "CUDA Enabled",
3739
"description": "Build with CUDA support",
3840
"binaryDir": "${sourceDir}/build/cuda",
@@ -42,7 +44,7 @@
4244
},
4345
{
4446
"name": "simd",
45-
"inherits": "base-release",
47+
"inherits": "release",
4648
"displayName": "SIMD Enabled",
4749
"description": "Build with SIMD optimizations",
4850
"binaryDir": "${sourceDir}/build/simd",
@@ -52,7 +54,7 @@
5254
},
5355
{
5456
"name": "test",
55-
"inherits": "base-debug",
57+
"inherits": "debug",
5658
"displayName": "Build for Testing",
5759
"description": "Build with unit tests enabled",
5860
"binaryDir": "${sourceDir}/build/test",
@@ -64,7 +66,7 @@
6466
},
6567
{
6668
"name": "python",
67-
"inherits": "base-release",
69+
"inherits": "release",
6870
"displayName": "Python Bindings",
6971
"description": "Build with Python bindings enabled",
7072
"binaryDir": "${sourceDir}/build/python",
@@ -77,23 +79,22 @@
7779
},
7880
{
7981
"name": "coverage",
80-
"inherits": "base-debug",
82+
"inherits": "debug",
8183
"displayName": "Code Coverage",
8284
"description": "Build for code coverage",
8385
"binaryDir": "${sourceDir}/build/coverage",
8486
"cacheVariables": {
8587
"IPC_TOOLKIT_WITH_CODE_COVERAGE": "ON",
86-
"IPC_TOOLKIT_BUILD_TESTS": "ON",
87-
88+
"IPC_TOOLKIT_BUILD_TESTS": "ON"
8889
}
8990
},
9091
{
9192
"name": "debug-cuda",
92-
"inherits": [ "base-debug", "cuda" ],
93+
"inherits": [ "debug", "cuda" ],
9394
"displayName": "CUDA Debug",
9495
"description": "Debug build with CUDA support",
9596
"binaryDir": "${sourceDir}/build/debug-cuda"
96-
},
97+
}
9798
],
9899
"buildPresets": [
99100
{
@@ -120,7 +121,7 @@
120121
"name": "debug-cuda-build",
121122
"configurePreset": "debug-cuda",
122123
"description": "Debug build with CUDA support"
123-
},
124+
}
124125
],
125126
"testPresets": [
126127
{

0 commit comments

Comments
 (0)