Skip to content

Commit 1c2a5a0

Browse files
committed
JSON format
1 parent e238514 commit 1c2a5a0

File tree

1 file changed

+34
-15
lines changed

1 file changed

+34
-15
lines changed

CMakePresets.json

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
"binaryDir": "${sourceDir}/out/build/${presetName}",
1515
"installDir": "${sourceDir}/out/install/${presetName}"
1616
},
17-
1817
{
1918
"name": "x64",
2019
"architecture": {
2120
"value": "x64",
2221
"strategy": "external"
2322
},
24-
"cacheVariables": { "DXMATH_ARCHITECTURE": "x64" },
23+
"cacheVariables": {
24+
"DXMATH_ARCHITECTURE": "x64"
25+
},
2526
"hidden": true
2627
},
2728
{
@@ -30,7 +31,9 @@
3031
"value": "x86",
3132
"strategy": "external"
3233
},
33-
"cacheVariables": { "DXMATH_ARCHITECTURE": "x86" },
34+
"cacheVariables": {
35+
"DXMATH_ARCHITECTURE": "x86"
36+
},
3437
"hidden": true
3538
},
3639
{
@@ -39,7 +42,9 @@
3942
"value": "arm64",
4043
"strategy": "external"
4144
},
42-
"cacheVariables": { "DXMATH_ARCHITECTURE": "arm64" },
45+
"cacheVariables": {
46+
"DXMATH_ARCHITECTURE": "arm64"
47+
},
4348
"hidden": true
4449
},
4550
{
@@ -48,51 +53,64 @@
4853
"value": "arm64ec",
4954
"strategy": "external"
5055
},
51-
"cacheVariables": { "DXMATH_ARCHITECTURE": "arm64ec" },
56+
"cacheVariables": {
57+
"DXMATH_ARCHITECTURE": "arm64ec"
58+
},
5259
"environment": {
5360
"CFLAGS": "/arm64EC",
5461
"CXXFLAGS": "/arm64EC"
5562
},
5663
"hidden": true
5764
},
58-
5965
{
6066
"name": "Debug",
61-
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" },
67+
"cacheVariables": {
68+
"CMAKE_BUILD_TYPE": "Debug"
69+
},
6270
"hidden": true
6371
},
6472
{
6573
"name": "Release",
66-
"cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" },
74+
"cacheVariables": {
75+
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
76+
},
6777
"hidden": true
6878
},
69-
7079
{
7180
"name": "OneCore",
72-
"cacheVariables": { "BUILD_FOR_ONECORE": true },
81+
"cacheVariables": {
82+
"BUILD_FOR_ONECORE": true
83+
},
7384
"hidden": true
7485
},
7586
{
7687
"name": "AVX",
77-
"cacheVariables": { "BUILD_AVX_TEST": true },
88+
"cacheVariables": {
89+
"BUILD_AVX_TEST": true
90+
},
7891
"hidden": true
7992
},
8093
{
8194
"name": "AVX2",
82-
"cacheVariables": { "BUILD_AVX2_TEST": true },
95+
"cacheVariables": {
96+
"BUILD_AVX2_TEST": true
97+
},
8398
"hidden": true
8499
},
85100
{
86101
"name": "F16C",
87-
"cacheVariables": { "BUILD_F16C_TEST": true },
102+
"cacheVariables": {
103+
"BUILD_F16C_TEST": true
104+
},
88105
"hidden": true
89106
},
90107
{
91108
"name": "NI",
92-
"cacheVariables": { "BUILD_NO_INTRINSICS": true },
109+
"cacheVariables": {
110+
"BUILD_NO_INTRINSICS": true
111+
},
93112
"hidden": true
94113
},
95-
96114
{
97115
"name": "MSVC",
98116
"hidden": true,
@@ -203,6 +221,7 @@
203221
{ "name": "x64-Debug-Linux" , "description": "WSL x64 (Debug) - SSE/SSE2", "inherits": [ "base", "x64", "Debug" ] },
204222
{ "name": "x64-Release-Linux" , "description": "WSL x64 (Release) - SSE/SSE2", "inherits": [ "base", "x64", "Release" ] }
205223
],
224+
206225
"testPresets": [
207226
{ "name": "x64-Debug" , "configurePreset": "x64-Debug" },
208227
{ "name": "x64-Release" , "configurePreset": "x64-Release" },

0 commit comments

Comments
 (0)