@@ -39,6 +39,7 @@ it provides some of the needed headers and libraries.
39
39
1 . Clone ` apple/swift ` into a folder named ` swift `
40
40
1 . Clone ` apple/swift-corelibs-libdispatch ` into a folder named ` swift-corelibs-libdispatch `
41
41
1 . Clone ` apple/swift-corelibs-foundation ` into a folder named ` swift-corelibs-foundation `
42
+ 1 . Clone ` apple/swift-corelibs-xctest ` into a folder name ` swift-corelibs-xctest `
42
43
1 . Clone ` apple/swift-lldb ` into a folder named ` lldb `
43
44
44
45
- Currently, other repositories in the Swift project have not been tested and
@@ -60,6 +61,7 @@ git clone https://github.com/apple/swift-compiler-rt compiler-rt
60
61
git clone https://github.com/apple/swift
61
62
git clone https://github.com/apple/swift-corelibs-libdispatch
62
63
git clone https://github.com/apple/swift-corelibs-foundation
64
+ git clone https://github.com/apple/swift-corelibs-xctest
63
65
git clone https://github.com/apple/swift-lldb lldb
64
66
```
65
67
@@ -268,7 +270,24 @@ cmake -G Ninja^
268
270
269
271
```
270
272
271
- ### 12. Install Swift on Windows
273
+ ### 12. Build swift-corelibs-xctest
274
+
275
+ ``` cmd
276
+ mkdir "S:\b\xctest"
277
+ pushd "S:\b\xctest"
278
+ cmke -G Ninja^
279
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo^
280
+ -DCMAKE_SWIFT_COMPILER=S:\b\swift\bin\swiftc.exe^
281
+ -DXCTEST_PATH_TO_COREFOUNDATION_BUILD=S:\b\foundation\CoreFoundation-prefix^
282
+ -DXCTEST_PATH_TO_FOUNDATION_BUILD=S:\b\foundation^
283
+ -DXCTEST_PATH_TO_LIBDPATCH_SOURCE=S:\b\swift-corelibs-libdispatch^
284
+ -DXCTEST_PATH_TO_LIBDISPATCH_BUILD=S:\b\libdispatch^
285
+ S:\swift-corelibs-xctest
286
+ popd
287
+ cmake --build S:\b\xctest
288
+ ```
289
+
290
+ ### 13. Install Swift on Windows
272
291
273
292
- Run ninja install:
274
293
0 commit comments