Skip to content

Commit 4cf7d84

Browse files
committed
[WindowsBuild] Clearify for whom don't really need to build Swift
1 parent a96daff commit 4cf7d84

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/WindowsBuild.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,14 @@ cmake --build S:\b\1 --target install
136136

137137
The following guide will get you through the building process of a complete Swift debug toolchain.
138138

139-
Before you kick off the process, unset `SDKROOT` if you've already installed Swift:
139+
Before you kick off the process, unset `%SDKROOT%` if you've already installed Swift:
140140

141141
```cmd
142142
set SDKROOT=
143143
```
144144

145+
If you want to use an existing Swift toolchain to build the core libraries and other parts of the toolchain, make sure you have it in `%Path%`, and strip `S:/b/1/bin/` from every `-D CMAKE_{language}_COMPILER=S:/b/1/bin/{compiler}` option.
146+
145147
### Swift compiler
146148

147149
```cmd

0 commit comments

Comments
 (0)