diff --git a/doc/generated/variables.gen b/doc/generated/variables.gen index 194fb720d6..a6012b618c 100644 --- a/doc/generated/variables.gen +++ b/doc/generated/variables.gen @@ -4582,11 +4582,14 @@ Versions ending in Exp refer to "Express" or MSVS_ARCH - Sets the architecture for which the generated project(s) - should build. + Sets the architecture for which the generated project(s) should build. + The default value is x86. amd64 is also supported by SCons for - some Visual Studio versions. Trying to set $MSVS_ARCH + most Visual Studio versions. Since Visual Studio 2015 + arm is supported, and since Visual Studio + 2017 arm64 is supported. + Trying to set $MSVS_ARCH to an architecture that's not supported for a given Visual Studio version will generate an error. diff --git a/src/engine/SCons/Tool/msvs.xml b/src/engine/SCons/Tool/msvs.xml index 2292522773..6467a2b3be 100644 --- a/src/engine/SCons/Tool/msvs.xml +++ b/src/engine/SCons/Tool/msvs.xml @@ -463,11 +463,14 @@ env.MSVSSolution(target='Bar' + env['MSVSSOLUTIONSUFFIX'], projects=['bar' + env - Sets the architecture for which the generated project(s) - should build. + Sets the architecture for which the generated project(s) should build. + The default value is x86. amd64 is also supported by &SCons; for - some Visual Studio versions. Trying to set &cv-MSVS_ARCH; + most Visual Studio versions. Since Visual Studio 2015 + arm is supported, and since Visual Studio + 2017 arm64 is supported. + Trying to set &cv-MSVS_ARCH; to an architecture that's not supported for a given Visual Studio version will generate an error.