Skip to content

Commit 03b5b26

Browse files
sdkrystianalandefreitas
authored andcommitted
build: lowercase config preset names
1 parent 3491224 commit 03b5b26

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

CMakePresets.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"configurePresets": [
99
{
10-
"name": "Debug",
10+
"name": "debug",
1111
"displayName": "Debug-Base",
1212
"description": "Debug Config including tests.",
1313
"binaryDir": "${sourceDir}/build/debug",
@@ -29,8 +29,8 @@
2929
}
3030
},
3131
{
32-
"name": "Release",
33-
"inherits": "Debug",
32+
"name": "release",
33+
"inherits": "debug",
3434
"displayName": "Release-Base",
3535
"description": "Release Config including tests.",
3636
"binaryDir": "${sourceDir}/build/release",
@@ -39,8 +39,8 @@
3939
}
4040
},
4141
{
42-
"name": "RelWithDebInfo",
43-
"inherits": "Release",
42+
"name": "relwithdebinfo",
43+
"inherits": "release",
4444
"displayName": "RelWithDebInfo-Base",
4545
"description": "RelWithDebInfo Config including tests.",
4646
"binaryDir": "${sourceDir}/build/relwithdebinfo",
@@ -49,8 +49,8 @@
4949
}
5050
},
5151
{
52-
"name": "Dist",
53-
"inherits": "Release",
52+
"name": "dist",
53+
"inherits": "release",
5454
"displayName": "Distribution-Base",
5555
"description": "Release Config without Tests.",
5656
"binaryDir": "${sourceDir}/build/dist",

CMakeUserPresets.json.example

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"configurePresets": [
99
{
1010
"name": "Debug-MSVC",
11-
"inherits": "Debug",
11+
"inherits": "debug",
1212
"generator": "Visual Studio 17 2022",
1313
"architecture": "x64",
1414
"binaryDir": "${sourceDir}/build/debug-msvc",
@@ -61,7 +61,7 @@
6161
},
6262
{
6363
"name": "Debug-GCC",
64-
"inherits": "Debug",
64+
"inherits": "debug",
6565
"binaryDir": "${sourceDir}/build/debug-gcc",
6666
"toolchainFile": "/home/$env{USER}/vcpkg/scripts/buildsystems/vcpkg.cmake",
6767
"cacheVariables": {

0 commit comments

Comments
 (0)