Skip to content

Commit a82a007

Browse files
committed
Remove references to VS 2017. Bump VS 2019 to 2022.
1 parent ed3f06b commit a82a007

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

clang/www/get_started.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ <h3 id="buildWindows">Using Visual Studio</h3>
125125
project files. Get it from:
126126
<a href="https://cmake.org/download/">
127127
https://cmake.org/download/</a></li>
128-
<li><b>Visual Studio 2019 16.7 or later</b></li>
128+
<li><b>Visual Studio 2019 16.7 or later</b>. This tutorial assumes Visual Studio 2022.</li>
129129
<li><b>Python</b>. It is used to run the clang test suite. Get it from:
130130
<a href="https://www.python.org/download/">
131131
https://www.python.org/download/</a></li>
@@ -156,8 +156,8 @@ <h3 id="buildWindows">Using Visual Studio</h3>
156156
<li><tt>mkdir build</tt> (for building without polluting the source dir)</li>
157157
<li><tt>cd build</tt></li>
158158
<li>
159-
If you are using Visual Studio 2019:
160-
<tt>cmake -DLLVM_ENABLE_PROJECTS=clang -G "Visual Studio 16 2019" -A x64 -Thost=x64 ..\llvm</tt><br/>
159+
If you are using Visual Studio 2022:
160+
<tt>cmake -DLLVM_ENABLE_PROJECTS=clang -G "Visual Studio 17 2022" -A x64 -Thost=x64 ..\llvm</tt><br/>
161161
<tt>-Thost=x64</tt> is required, since the 32-bit linker will run out of memory.
162162
</li>
163163
<li>To generate x86 binaries instead of x64, pass <tt>-A Win32</tt>.</li>
@@ -195,12 +195,12 @@ <h3 id="buildWindowsNinja">Using Ninja alongside Visual Studio</h3>
195195
<li>If you open the start menu and search for "Command Prompt", you should
196196
see shortcuts created by Visual Studio to do this. To use native x64
197197
tools, choose the one titled "x64 Native Tools Command Prompt for VS
198-
2017".</li>
198+
2022".</li>
199199
<li> Alternatively, launch a regular <tt>cmd</tt> prompt and run the
200-
appropriate vcvarsall.bat incantation. To get the 2017 x64 tools, this
200+
appropriate vcvarsall.bat incantation. To get the 2022 x64 tools, this
201201
would be:<br/>
202-
<tt>"C:\Program Files (x86)\Microsoft Visual
203-
Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64</tt>
202+
<tt>"C:\Program Files\Microsoft Visual
203+
Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64</tt>
204204
</li>
205205
</ul>
206206
</li>

0 commit comments

Comments
 (0)