Skip to content

Commit 63e4857

Browse files
authored
Merge pull request swiftlang#30315 from patrickdes/master
doc: Update WindowsBuild.md
2 parents 90815f4 + 2a85468 commit 63e4857

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

docs/WindowsBuild.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The following must take place in the **developer command prompt** (provided by V
1313
2. Microsoft.VisualStudio.Component.Windows10SDK.17763
1414
3. Microsoft.VisualStudio.Component.VC.Tools.x86.x64
1515

16-
The following [link](https://docs.microsoft.com/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2019)) helps in finding the component name given its ID for Visual Studio 2019.
16+
The following [link](https://docs.microsoft.com/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2019) helps in finding the component name given its ID for Visual Studio 2019.
1717

1818
## Clone the repositories
1919

@@ -92,7 +92,25 @@ Warning: Creating the above links usually requires administrator privileges. The
9292

9393
```cmd
9494
md "S:\b\toolchain"
95-
cmake -B "S:\b\toolchain" -G Ninja -S S:\toolchain\llvm -C S:\windows-swift\cmake\caches\Windows-x86_64.cmake -C S:\windows-swift\cmake\caches\org.compnerd.dt.cmake -DLLVM_ENABLE_ASSERTIONS=YES -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;cmark;swift;lldb;lld" -DLLVM_EXTERNAL_PROJECTS="cmark;swift" -DSWIFT_PATH_TO_LIBDISPATCH_SOURCE=S:\toolchain\swift-corelibs-libdispatch -DLLVM_ENABLE_PDB=YES -DLLDB_DISABLE_PYTHON=YES -DSWIFT_WINDOWS_x86_64_ICU_UC_INCLUDE="S:/Library/icu-64/usr/include" -DSWIFT_WINDOWS_x86_64_ICU_UC="S:/Library/icu-64/usr/lib/icuuc64.lib" -DSWIFT_WINDOWS_x86_64_ICU_I18N_INCLUDE="S:/Library/icu-64/usr/include" -DSWIFT_WINDOWS_x86_64_ICU_I18N="S:/Library/icu-64/usr/lib/icuin64.lib" -DCMAKE_INSTALL_PREFIX="C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr" -DPYTHON_EXECUTABLE=C:\Python27\python.exe -DSWIFT_BUILD_DYNAMIC_STDLIB=YES -DSWIFT_BUILD_DYNAMIC_SDK_OVERLAY=YES
95+
cmake -B "S:\b\toolchain" -G Ninja -S S:\toolchain\llvm ^
96+
-C S:\windows-swift\cmake\caches\Windows-x86_64.cmake ^
97+
-C S:\windows-swift\cmake\caches\org.compnerd.dt.cmake ^
98+
-DLLVM_ENABLE_ASSERTIONS=YES ^
99+
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;cmark;swift;lldb;lld" ^
100+
-DLLVM_EXTERNAL_PROJECTS="cmark;swift" ^
101+
-DSWIFT_PATH_TO_LIBDISPATCH_SOURCE=S:\toolchain\swift-corelibs-libdispatch ^
102+
-DLLVM_ENABLE_PDB=YES ^
103+
-DLLVM_ENABLE_LIBEDIT=NO ^
104+
-DLLDB_DISABLE_PYTHON=YES ^
105+
-DSWIFT_WINDOWS_x86_64_ICU_UC_INCLUDE="S:/Library/icu-64/usr/include" ^
106+
-DSWIFT_WINDOWS_x86_64_ICU_UC="S:/Library/icu-64/usr/lib/icuuc64.lib" ^
107+
-DSWIFT_WINDOWS_x86_64_ICU_I18N_INCLUDE="S:/Library/icu-64/usr/include" ^
108+
-DSWIFT_WINDOWS_x86_64_ICU_I18N="S:/Library/icu-64/usr/lib/icuin64.lib" ^
109+
-DCMAKE_INSTALL_PREFIX="C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr" ^
110+
-DPYTHON_EXECUTABLE=C:\Python27\python.exe ^
111+
-DSWIFT_BUILD_DYNAMIC_STDLIB=YES ^
112+
-DSWIFT_BUILD_DYNAMIC_SDK_OVERLAY=YES
113+
96114
ninja -C S:\b\toolchain
97115
```
98116

0 commit comments

Comments
 (0)