Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4c95ce0

Browse files
committed
Doc: Fix instructions to control build environment with MSVC
The documentation included some outdated instructions to change thearchitecture, build type or target OS of a build done with MSVC. Thiscommit updates the documentation to include the modern optionsavailable, down to Visual Studio 2013.Reported-by: Kyotaro HoriguchiAuthor: Juan José Santamaría FlechaDiscussion:https://postgr.es/m/CAC+AXB0J7tAqW_2F1fCE4Dh2=Ccz96TcLpsGXOCvka7VvWG9Qw@mail.gmail.comBackpatch-through: 12
1 parent3f50d5c commit4c95ce0

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

‎doc/src/sgml/install-windows.sgml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,19 @@
110110
<application>Visual Studio Command Prompt</application>.
111111
If you wish to build a 64-bit version, you must use the 64-bit version of
112112
the command, and vice versa.
113-
In the <productname>Microsoft Windows SDK</productname>, start the
114-
<application>CMD shell</application> listed under the SDK on the Start Menu.
115-
In recent SDK versions you can change the targeted CPU architecture, build
116-
type, and target OS by using the <command>setenv</command> command, e.g.
117-
<command>setenv /x86 /release /xp</command> to target Windows XP or later
118-
with a 32-bit release build. See <command>/?</command> for other options to
119-
<command>setenv</command>. All commands should be run from the
120-
<filename>src\tools\msvc</filename> directory.
113+
Starting with <productname>Visual Studio 2017</productname> this can be
114+
done from the command line using <command>VsDevCmd.bat</command>, see
115+
<command>-help</command> for the available options and their default values.
116+
<command>vsvars32.bat</command> is available in
117+
<productname>Visual Studio 2015</productname> and earlier versions for the
118+
same purpose.
119+
From the <application>Visual Studio Command Prompt</application>, you can
120+
change the targeted CPU architecture, build type, and target OS by using the
121+
<command>vcvarsall.bat</command> command, e.g.
122+
<command>vcvarsall.bat x64 10.0.10240.0</command> to target Windows 10
123+
with a 64-bit release build. See <command>-help</command> for the other
124+
options of <command>vcvarsall.bat</command>. All commands should be run from
125+
the <filename>src\tools\msvc</filename> directory.
121126
</para>
122127

123128
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp