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
1. Add the `bin64` folder to your `Path` environment variable.
61
67
62
68
### 4. Get ready
63
-
- From within a **developer** command prompt (not PowerShell nor cmd, but [the
64
-
Visual Studio Developer Command
65
-
Prompt](https://msdn.microsoft.com/en-us/library/f35ctcxw.aspx)), execute the
66
-
following command if you have an x64 PC.
69
+
- From within a **developer** command prompt (not PowerShell nor cmd, but the [Visual Studio Developer Command Prompt](https://msdn.microsoft.com/en-us/library/f35ctcxw.aspx)), execute the following command if you have an x64 PC.
70
+
67
71
```cmd
68
72
VsDevCmd -arch=amd64
69
73
```
70
-
If instead you're compiling for a 32-bit Windows target, adapt the `arch`
71
-
argument to `x86` and run
74
+
75
+
If instead you're compiling for a 32-bit Windows target, adapt the `arch` argument to `x86` and run
76
+
72
77
```cmd
73
78
VsDevCmd -arch=x86
74
79
```
75
80
76
-
- We will use the assumption that the sources are on the `S` drive. Replace it with the path to the checkout. Make sure to use forward slashes (`/`) instead of backslashes (`\`) as the path separators. `clang` breaks with backslashed paths.
77
-
78
81
- Decide whether you want to build a release or debug version of Swift on Windows and
79
82
replace the `CMAKE_BUILD_TYPE` parameter in the build steps below with the correct value
80
83
(`Debug`, `RelWithDebInfoAssert` or `Release`) to avoid conflicts between the debug and
@@ -85,23 +88,25 @@ VsDevCmd -arch=x86
85
88
`${UniversalCRTSdkDir}/Include/${UCRTVersion}/ucrt` as `module.modulemap`, copying `visualc.modulemap` located at `swift/stdlib/public/Platform/visualc.modulemap` into `${VCToolsInstallDir}/include` as `module.modulemap`, and copying `winsdk.modulemap` located at `swift/stdlib/public/Platform/winsdk.modulemap` into `${UniversalCRTSdkDir}/Include/${UCRTVersion}/um` and setup the `visualc.apinotes` located at `swift/stdlib/public/Platform/visualc.apinotes` into `${VCToolsInstallDir}/include` as `visualc.apinotes`
86
89
87
90
```cmd
88
-
cd %UniversalCRTSdkDir%\Include\%UCRTVersion%\ucrt
0 commit comments