@@ -41,6 +41,7 @@ it provides some of the needed headers and libraries.
41
41
1 . Clone ` apple/swift-corelibs-foundation ` into a folder named ` swift-corelibs-foundation `
42
42
1 . Clone ` apple/swift-corelibs-xctest ` into a folder name ` swift-corelibs-xctest `
43
43
1 . Clone ` apple/swift-lldb ` into a folder named ` lldb `
44
+ 1 . Clone ` curl ` into a folder named ` curl `
44
45
1 . Clone ` libxml2 ` into a folder named ` libxml2 `
45
46
46
47
- Currently, other repositories in the Swift project have not been tested and
@@ -64,6 +65,7 @@ git clone https://github.com/apple/swift-corelibs-libdispatch
64
65
git clone https://github.com/apple/swift-corelibs-foundation
65
66
git clone https://github.com/apple/swift-corelibs-xctest
66
67
git clone https://github.com/apple/swift-lldb lldb
68
+ git clone https://github.com/curl/curl.git curl
67
69
git clone https://gitlab.gnome.org/GNOME/libxml2.git libxml2
68
70
```
69
71
@@ -248,7 +250,17 @@ cmake --build S:\b\libdispatch
248
250
path S:\b\libdispatch;S:\b\libdispatch\src;%PATH%
249
251
```
250
252
251
- ### 11. Build libxml2
253
+ ### 11. Build curl
254
+
255
+ ``` cmd
256
+ pushd "S:\curl"
257
+ .\buildconf.bat
258
+ cd winbuild
259
+ nmake /f Makefile.vc mode=static VC=15 MACHINE=x64
260
+ popd
261
+ ```
262
+
263
+ ### 12. Build libxml2
252
264
253
265
``` cmd
254
266
pushd "S:\libxml2\win32"
@@ -257,11 +269,7 @@ nmake /f Makefile.msvc
257
269
popd
258
270
```
259
271
260
- ### 12. Build swift-corelibs-foundation
261
-
262
- To build Foundation you will need builds of:
263
-
264
- - ` libcurl ` (https://curl.haxx.se , download the source, ` cd ` into ` winbuild ` , and run ` nmake /f Makefile.vc mode=static VC=15 MACHINE=x64 ` )
272
+ ### 13. Build swift-corelibs-foundation
265
273
266
274
``` cmd
267
275
mkdir "S:\b\foundation"
@@ -288,7 +296,7 @@ cmake -G Ninja^
288
296
path S:\b\foundation;%PATH%
289
297
```
290
298
291
- ### 13 . Build swift-corelibs-xctest
299
+ ### 14 . Build swift-corelibs-xctest
292
300
293
301
``` cmd
294
302
mkdir "S:\b\xctest"
@@ -313,7 +321,7 @@ cmake --build S:\b\xctest
313
321
path S:\b\xctest;%PATH%
314
322
```
315
323
316
- ### 14 . Install Swift on Windows
324
+ ### 15 . Install Swift on Windows
317
325
318
326
- Run ninja install:
319
327
0 commit comments