|
1 | 1 | { |
2 | 2 | "version": 3, |
| 3 | + "cmakeMinimumRequired": { |
| 4 | + "major": 3, |
| 5 | + "minor": 21 |
| 6 | + }, |
3 | 7 | "configurePresets": [ |
4 | 8 | { |
5 | 9 | "name": "base", |
|
10 | 14 | "binaryDir": "${sourceDir}/out/build/${presetName}", |
11 | 15 | "installDir": "${sourceDir}/out/install/${presetName}" |
12 | 16 | }, |
13 | | - |
14 | 17 | { |
15 | 18 | "name": "x64", |
16 | 19 | "architecture": { |
17 | 20 | "value": "x64", |
18 | 21 | "strategy": "external" |
19 | 22 | }, |
20 | | - "cacheVariables": { "DXMATH_ARCHITECTURE": "x64" }, |
| 23 | + "cacheVariables": { |
| 24 | + "DXMATH_ARCHITECTURE": "x64" |
| 25 | + }, |
21 | 26 | "hidden": true |
22 | 27 | }, |
23 | 28 | { |
|
26 | 31 | "value": "x86", |
27 | 32 | "strategy": "external" |
28 | 33 | }, |
29 | | - "cacheVariables": { "DXMATH_ARCHITECTURE": "x86" }, |
| 34 | + "cacheVariables": { |
| 35 | + "DXMATH_ARCHITECTURE": "x86" |
| 36 | + }, |
30 | 37 | "hidden": true |
31 | 38 | }, |
32 | 39 | { |
|
35 | 42 | "value": "arm64", |
36 | 43 | "strategy": "external" |
37 | 44 | }, |
38 | | - "cacheVariables": { "DXMATH_ARCHITECTURE": "arm64" }, |
| 45 | + "cacheVariables": { |
| 46 | + "DXMATH_ARCHITECTURE": "arm64" |
| 47 | + }, |
39 | 48 | "hidden": true |
40 | 49 | }, |
41 | 50 | { |
|
44 | 53 | "value": "arm64ec", |
45 | 54 | "strategy": "external" |
46 | 55 | }, |
47 | | - "cacheVariables": { "DXMATH_ARCHITECTURE": "arm64ec" }, |
| 56 | + "cacheVariables": { |
| 57 | + "DXMATH_ARCHITECTURE": "arm64ec" |
| 58 | + }, |
48 | 59 | "environment": { |
49 | 60 | "CFLAGS": "/arm64EC", |
50 | 61 | "CXXFLAGS": "/arm64EC" |
51 | 62 | }, |
52 | 63 | "hidden": true |
53 | 64 | }, |
54 | | - |
55 | 65 | { |
56 | 66 | "name": "Debug", |
57 | | - "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" }, |
| 67 | + "cacheVariables": { |
| 68 | + "CMAKE_BUILD_TYPE": "Debug" |
| 69 | + }, |
58 | 70 | "hidden": true |
59 | 71 | }, |
60 | 72 | { |
61 | 73 | "name": "Release", |
62 | | - "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" }, |
| 74 | + "cacheVariables": { |
| 75 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo" |
| 76 | + }, |
63 | 77 | "hidden": true |
64 | 78 | }, |
65 | | - |
66 | 79 | { |
67 | 80 | "name": "OneCore", |
68 | | - "cacheVariables": { "BUILD_FOR_ONECORE": true }, |
| 81 | + "cacheVariables": { |
| 82 | + "BUILD_FOR_ONECORE": true |
| 83 | + }, |
69 | 84 | "hidden": true |
70 | 85 | }, |
71 | 86 | { |
72 | 87 | "name": "AVX", |
73 | | - "cacheVariables": { "BUILD_AVX_TEST": true }, |
| 88 | + "cacheVariables": { |
| 89 | + "BUILD_AVX_TEST": true |
| 90 | + }, |
74 | 91 | "hidden": true |
75 | 92 | }, |
76 | 93 | { |
77 | 94 | "name": "AVX2", |
78 | | - "cacheVariables": { "BUILD_AVX2_TEST": true }, |
| 95 | + "cacheVariables": { |
| 96 | + "BUILD_AVX2_TEST": true |
| 97 | + }, |
79 | 98 | "hidden": true |
80 | 99 | }, |
81 | 100 | { |
82 | 101 | "name": "F16C", |
83 | | - "cacheVariables": { "BUILD_F16C_TEST": true }, |
| 102 | + "cacheVariables": { |
| 103 | + "BUILD_F16C_TEST": true |
| 104 | + }, |
84 | 105 | "hidden": true |
85 | 106 | }, |
86 | 107 | { |
87 | 108 | "name": "NI", |
88 | | - "cacheVariables": { "BUILD_NO_INTRINSICS": true }, |
| 109 | + "cacheVariables": { |
| 110 | + "BUILD_NO_INTRINSICS": true |
| 111 | + }, |
89 | 112 | "hidden": true |
90 | 113 | }, |
91 | | - |
92 | 114 | { |
93 | 115 | "name": "MSVC", |
94 | 116 | "hidden": true, |
|
199 | 221 | { "name": "x64-Debug-Linux" , "description": "WSL x64 (Debug) - SSE/SSE2", "inherits": [ "base", "x64", "Debug" ] }, |
200 | 222 | { "name": "x64-Release-Linux" , "description": "WSL x64 (Release) - SSE/SSE2", "inherits": [ "base", "x64", "Release" ] } |
201 | 223 | ], |
| 224 | + |
202 | 225 | "testPresets": [ |
203 | 226 | { "name": "x64-Debug" , "configurePreset": "x64-Debug" }, |
204 | 227 | { "name": "x64-Release" , "configurePreset": "x64-Release" }, |
|
0 commit comments