Skip to content

Commit 3527ee9

Browse files
committed
[WindowsBuild] Minor fixes
1 parent 2ffc6bc commit 3527ee9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/WindowsBuild.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ cmake -B S:\b\2 ^
260260
261261
-D LLVM_DIR=S:\b\1\lib\cmake\llvm ^
262262
-D SWIFT_NATIVE_SWIFT_TOOLS_PATH=S:\b\1\bin ^
263+
264+
-D CMAKE_Swift_COMPILER=S:/b/1/bin/swiftc.exe ^
263265
-D SWIFT_PATH_TO_LIBDISPATCH_SOURCE=S:\swift-corelibs-libdispatch ^
264266
265267
-D SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY=YES ^
@@ -745,6 +747,7 @@ cmake --build S:\b\6 --target install
745747
cmake --build S:\b\7\Yams --target install
746748
cmake --build S:\b\7\ArgumentParser --target install
747749
cmake --build S:\b\7\SwiftSystem --target install
750+
cmake --build S:\b\7\SwiftCrypto --target install
748751
cmake --build S:\b\7\SwiftCollections --target install
749752
cmake --build S:\b\7\IndexStoreDB --target install
750753
cmake --build S:\b\8 --target install
@@ -759,3 +762,10 @@ To use Swift Driver in place of the old driver:
759762
copy /Y S:\b\toolchain\usr\bin\swift-driver.exe S:\b\toolchain\usr\bin\swift.exe
760763
copy /Y S:\b\toolchain\usr\bin\swift-driver.exe S:\b\toolchain\usr\bin\swiftc.exe
761764
```
765+
766+
Add the built toolchain to `%Path%` to use directly:
767+
768+
```cmd
769+
path S:\b\toolchain\usr\bin;%Path%
770+
swift --version
771+
```

0 commit comments

Comments
 (0)