Skip to content

Commit 15af446

Browse files
Block building STL in wrong command prompt (#4709)
Co-authored-by: Stephan T. Lavavej <[email protected]>
1 parent 3d781e6 commit 15af446

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

CMakePresets.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@
1919
"architecture": {
2020
"strategy": "external",
2121
"value": "x86"
22+
},
23+
"condition": {
24+
"type": "inList",
25+
"string": "$env{Platform}",
26+
"list": [
27+
"x86",
28+
""
29+
]
2230
}
2331
},
2432
{
@@ -28,6 +36,14 @@
2836
"architecture": {
2937
"strategy": "external",
3038
"value": "x64"
39+
},
40+
"condition": {
41+
"type": "inList",
42+
"string": "$env{Platform}",
43+
"list": [
44+
"x64",
45+
""
46+
]
3147
}
3248
},
3349
{
@@ -38,6 +54,14 @@
3854
"strategy": "external",
3955
"value": "ARM"
4056
},
57+
"condition": {
58+
"type": "inList",
59+
"string": "$env{Platform}",
60+
"list": [
61+
"arm",
62+
""
63+
]
64+
},
4165
"cacheVariables": {
4266
"TESTS_BUILD_ONLY": true
4367
}
@@ -50,6 +74,14 @@
5074
"strategy": "external",
5175
"value": "ARM64"
5276
},
77+
"condition": {
78+
"type": "inList",
79+
"string": "$env{Platform}",
80+
"list": [
81+
"arm64",
82+
""
83+
]
84+
},
5385
"cacheVariables": {
5486
"TESTS_BUILD_ONLY": true
5587
}
@@ -62,6 +94,14 @@
6294
"strategy": "external",
6395
"value": "ARM64EC"
6496
},
97+
"condition": {
98+
"type": "inList",
99+
"string": "$env{Platform}",
100+
"list": [
101+
"arm64",
102+
""
103+
]
104+
},
65105
"cacheVariables": {
66106
"TESTS_BUILD_ONLY": true,
67107
"VCLIBS_TARGET_ARCHITECTURE": "ARM64EC"

0 commit comments

Comments
 (0)