diff --git a/CMakePresets.json b/CMakePresets.json index a39595cbda..1ddb274aec 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -19,6 +19,14 @@ "architecture": { "strategy": "external", "value": "x86" + }, + "condition": { + "type": "inList", + "string": "$env{Platform}", + "list": [ + "x86", + "" + ] } }, { @@ -28,6 +36,14 @@ "architecture": { "strategy": "external", "value": "x64" + }, + "condition": { + "type": "inList", + "string": "$env{Platform}", + "list": [ + "x64", + "" + ] } }, { @@ -38,6 +54,14 @@ "strategy": "external", "value": "ARM" }, + "condition": { + "type": "inList", + "string": "$env{Platform}", + "list": [ + "arm", + "" + ] + }, "cacheVariables": { "TESTS_BUILD_ONLY": true } @@ -50,6 +74,14 @@ "strategy": "external", "value": "ARM64" }, + "condition": { + "type": "inList", + "string": "$env{Platform}", + "list": [ + "arm64", + "" + ] + }, "cacheVariables": { "TESTS_BUILD_ONLY": true } @@ -62,6 +94,14 @@ "strategy": "external", "value": "ARM64EC" }, + "condition": { + "type": "inList", + "string": "$env{Platform}", + "list": [ + "arm64", + "" + ] + }, "cacheVariables": { "TESTS_BUILD_ONLY": true, "VCLIBS_TARGET_ARCHITECTURE": "ARM64EC"