Skip to content

Commit

Permalink
Merge pull request #3293 from mwichmann/msvs-targets-doc
Browse files Browse the repository at this point in the history
Add arm targets to doc for MSVS_ARCH
  • Loading branch information
bdbaddog authored Feb 6, 2019
2 parents 0ac39b1 + 7813d8b commit 9f09013
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions doc/generated/variables.gen
Original file line number Diff line number Diff line change
Expand Up @@ -4582,11 +4582,14 @@ Versions ending in <literal>Exp</literal> refer to "Express" or
<varlistentry id="cv-MSVS_ARCH">
<term>MSVS_ARCH</term>
<listitem>
<para xmlns="http://www.scons.org/dbxsd/v1.0">Sets the architecture for which the generated project(s)
should build.</para> <para xmlns="http://www.scons.org/dbxsd/v1.0">
<para xmlns="http://www.scons.org/dbxsd/v1.0">Sets the architecture for which the generated project(s) should build.</para>
<para xmlns="http://www.scons.org/dbxsd/v1.0">
The default value is <literal>x86</literal>.
<literal>amd64</literal> is also supported by <application xmlns="http://www.scons.org/dbxsd/v1.0">SCons</application> for
some Visual Studio versions. Trying to set <envar xmlns="http://www.scons.org/dbxsd/v1.0">$MSVS_ARCH</envar>
most Visual Studio versions. Since Visual Studio 2015
<literal>arm</literal> is supported, and since Visual Studio
2017 <literal>arm64</literal> is supported.
Trying to set <envar xmlns="http://www.scons.org/dbxsd/v1.0">$MSVS_ARCH</envar>
to an architecture that's not supported for a given Visual
Studio version will generate an error.
</para>
Expand Down
9 changes: 6 additions & 3 deletions src/engine/SCons/Tool/msvs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -463,11 +463,14 @@ env.MSVSSolution(target='Bar' + env['MSVSSOLUTIONSUFFIX'], projects=['bar' + env
</summary>
</cvar> <cvar name="MSVS_ARCH">
<summary>
<para>Sets the architecture for which the generated project(s)
should build.</para> <para>
<para>Sets the architecture for which the generated project(s) should build.</para>
<para>
The default value is <literal>x86</literal>.
<literal>amd64</literal> is also supported by &SCons; for
some Visual Studio versions. Trying to set &cv-MSVS_ARCH;
most Visual Studio versions. Since Visual Studio 2015
<literal>arm</literal> is supported, and since Visual Studio
2017 <literal>arm64</literal> 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.
</para>
Expand Down

0 comments on commit 9f09013

Please sign in to comment.