@@ -653,9 +653,9 @@ cmake --build S:\b\11
653
653
654
654
## Gather the toolchain and SDK
655
655
656
- If you want a toolchain for real-world testing or distribution , you can use CMake to perform the install step.
656
+ If you want a toolchain for real-world testing, you can use CMake to perform the install step.
657
657
658
- ### Swift compiler and standard library
658
+ ### Swift compiler and standard libraries
659
659
660
660
``` cmd
661
661
cmake --build S:\b\1 --target install
@@ -667,16 +667,41 @@ For testing, add the target to path:
667
667
path S:\b\toolchain\usr\bin:%PATH%
668
668
```
669
669
670
- ## Swift Windows SDK (with core libraries)
670
+ ### Swift Windows SDK (with core libraries)
671
671
672
672
``` cmd
673
673
cmake --build S:\b\2 --target install
674
674
cmake --build S:\b\3 --target install
675
675
cmake --build S:\b\4 --target install
676
+ cmake --build S:\b\5 --target install
676
677
```
677
678
678
- For testing, set ` SDKROOT ` :
679
+ For testing, set ` % SDKROOT% ` and the default runtime :
679
680
680
681
``` cmd
681
682
set SDKROOT=S:\b\sdk
683
+ python -c "import plistlib; print(str(plistlib.dumps({ 'DefaultProperties': { 'DEFAULT_USE_RUNTIME': 'MD' } }), encoding='utf-8'))" > S:\b\sdk\SDKSettings.plist
684
+ ```
685
+
686
+ ### Swift toolchain with developer tools
687
+
688
+ ``` cmd
689
+ cmake --build S:\b\1 --target install
690
+ cmake --build S:\b\6 --target install
691
+ cmake --build S:\b\7\Yams --target install
692
+ cmake --build S:\b\7\ArgumentParser --target install
693
+ cmake --build S:\b\7\SwiftSystem --target install
694
+ cmake --build S:\b\7\SwiftCollections --target install
695
+ cmake --build S:\b\7\IndexStoreDB --target install
696
+ cmake --build S:\b\8 --target install
697
+ cmake --build S:\b\9 --target install
698
+ cmake --build S:\b\10 --target install
699
+ cmake --build S:\b\11 --target install
700
+ ```
701
+
702
+ To use Swift Driver in place of the old driver:
703
+
704
+ ``` cmd
705
+ copy /Y S:\b\toolchain\usr\bin\swift-driver.exe S:\b\toolchain\usr\bin\swift.exe
706
+ copy /Y S:\b\toolchain\usr\bin\swift-driver.exe S:\b\toolchain\usr\bin\swiftc.exe
682
707
```
0 commit comments