Skip to content

Commit 6cd3a8f

Browse files
authored
Merge pull request #31404 from apple/compnerd-windows-developer-mode
Update WindowsBuild.md
2 parents baf4902 + 7a50ad5 commit 6cd3a8f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/WindowsBuild.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ If you are building a debug version of Swift, you should also install the Python
3333
4. Select *Download debug binaries (requires VS 2015 or later)*
3434
5. Click *Install*
3535

36+
## Enable Developer Mode
37+
38+
From the settings application, go to `Update & Security`. In the `For developers` tab, select `Developer Mode` for `Use Developer Features`. This is required to enable the creation of symbolic links.
39+
3640
## Clone the repositories
3741

3842
1. Clone `apple/llvm-project` into a directory for the toolchain
@@ -113,6 +117,7 @@ md "S:\b\toolchain"
113117
cmake -B "S:\b\toolchain" ^
114118
-C S:\swift-build\cmake\caches\windows-x86_64.cmake ^
115119
-C S:\swift-build\cmake\caches\org.compnerd.dt.cmake ^
120+
-D CMAKE_BUILD_TYPE=Release ^
116121
-D LLVM_ENABLE_ASSERTIONS=YES ^
117122
-D LLVM_ENABLE_PROJECTS="clang;clang-tools-extra;cmark;swift;lldb;lld" ^
118123
-D LLVM_EXTERNAL_PROJECTS="cmark;swift" ^

0 commit comments

Comments
 (0)