You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/WindowsBuild.md
+25-36Lines changed: 25 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -105,8 +105,8 @@ Warning: Creating the above links usually requires administrator privileges. The
105
105
either build everything `Debug` or some variant of `Release` (e.g. `Release`,
106
106
`RelWithDebInfo`).
107
107
```cmd
108
-
mkdir "S:\b\llvm"
109
-
pushd "S:\b\llvm"
108
+
md "S:\b\llvm"
109
+
cd "S:\b\llvm"
110
110
cmake -G Ninja^
111
111
-DCMAKE_BUILD_TYPE=Release^
112
112
-DCMAKE_C_COMPILER=cl^
@@ -117,8 +117,7 @@ cmake -G Ninja^
117
117
-DLLVM_ENABLE_PROJECTS=clang^
118
118
-DLLVM_TARGETS_TO_BUILD="AArch64;ARM;X86"^
119
119
S:/llvm
120
-
popd
121
-
cmake --build "S:\b\llvm"
120
+
ninja
122
121
```
123
122
124
123
- Update your path to include the LLVM tools.
@@ -130,24 +129,23 @@ path S:\b\llvm\bin;%PATH%
130
129
- This must be done from within a developer command prompt. CMark is a fairly
131
130
small project and should only take a few minutes to build.
132
131
```cmd
133
-
mkdir "S:\b\cmark"
134
-
pushd "S:\b\cmark"
132
+
md "S:\b\cmark"
133
+
cd "S:\b\cmark"
135
134
cmake -G Ninja^
136
135
-DCMAKE_BUILD_TYPE=RelWithDebInfo^
137
136
-DCMAKE_C_COMPILER=cl^
138
137
-DCMAKE_CXX_COMPILER=cl^
139
138
S:\cmark
140
-
popd
141
-
cmake --build "S:\b\cmark"
139
+
ninja
142
140
```
143
141
144
142
## 8. Build Swift
145
143
- This must be done from within a developer command prompt
146
144
- Note that Visual Studio vends a 32-bit python 2.7 installation in `C:\Python27` and a 64-bit python in `C:\Python27amd64`. You may use either one based on your installation.
0 commit comments