You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/WindowsBuild.md
+3-13Lines changed: 3 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,10 @@ The commands below (with the exception of installing Visual Studio) must be ente
8
8
9
9
### Visual Studio
10
10
11
-
An easy way to get most of the tools to build Swift is using the [Visual Studio installer](https://www.visualstudio.com/downloads/). This command installs all needed Visual Studio components as well as Pythonand Git:
11
+
An easy way to get most of the tools to build Swift is using the [Visual Studio installer](https://www.visualstudio.com/downloads/). This command installs all needed Visual Studio components as well as Python, Git, CMake and Ninja:
12
12
13
13
```
14
14
vs_community ^
15
-
--add Component.CPython2.x86 ^
16
15
--add Component.CPython3.x64 ^
17
16
--add Microsoft.VisualStudio.Component.Git ^
18
17
--add Microsoft.VisualStudio.Component.VC.ATL ^
@@ -28,13 +27,7 @@ The following [link](https://docs.microsoft.com/visualstudio/install/workload-co
28
27
29
28
### Python
30
29
31
-
The command above already installs Python 2 and 3. Alternatively, in the Visual Studio installation program, under *Individual Components*
32
-
33
-
1. Install *Python 2*, either the 32-bit version (C:\Python27\\) or the 64-bit version (C:\Python27amd64\\)
34
-
35
-
**Note:** If you install the 64-bit version only, you will need to adjust `PYTHON_EXECUTABLE` below to `C:\Python27amd64\python.exe`
36
-
37
-
2. Install *Python 3 64 bits (3.7.x)*
30
+
The command above already installs Python 3. Alternatively, in the Visual Studio installation program, under *Individual Components*, install *Python 3 64 bits (3.7.x)*.
38
31
39
32
If you are building a debug version of Swift, you should also install the Python debug binaries.
40
33
@@ -137,9 +130,6 @@ cmake -B "S:\b\toolchain" ^
137
130
ninja -C S:\b\toolchain
138
131
```
139
132
140
-
**Note:** If you installed only the 64-bit version of Python, you will need to adjust `PYTHON_EXECUTABLE` argument to `C:\Python27amd64\python.exe`
0 commit comments