Skip to content

Commit 1ae7b7f

Browse files
committed
[WindowsBuild] SwiftSystem and TSC
1 parent 4cf7d84 commit 1ae7b7f

File tree

1 file changed

+38
-8
lines changed

1 file changed

+38
-8
lines changed

docs/WindowsBuild.md

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -350,23 +350,53 @@ Test Foundation:
350350
cmake --build S:\b\4 --target test
351351
```
352352

353-
### TSC
353+
### SwiftSystem (without tests)
354354

355355
```cmd
356-
cmake -B S:\b\5 ^
356+
cmake -B S:\b\6 ^
357357
-D BUILD_SHARED_LIBS=YES ^
358358
-D CMAKE_BUILD_TYPE=RelWithDebInfo ^
359-
-D CMAKE_INSTALL_PREFIX=C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr ^
359+
-D CMAKE_INSTALL_PREFIX=S:\b\toolchain\usr ^
360+
360361
-D CMAKE_C_COMPILER=S:/b/1/bin/clang-cl.exe ^
362+
-D CMAKE_C_FLAGS="/GS- /Oy /Gw /Gy" ^
363+
-D CMAKE_MT=mt ^
364+
-D CMAKE_EXE_LINKER_FLAGS="/INCREMENTAL:NO" ^
365+
-D CMAKE_SHARED_LINKER_FLAGS="/INCREMENTAL:NO" ^
366+
361367
-D CMAKE_Swift_COMPILER=S:/b/1/bin/swiftc.exe ^
362-
-D dispatch_DIR=S:\b\2\cmake\modules ^
363-
-D Foundation_DIR=S:\b\3\cmake\modules ^
364-
-D SQLite3_INCLUDE_DIR=S:\Library\sqlite-3.28.0\usr\include ^
365-
-D SQLite3_LIBRARY=S:\Library\sqlite-3.28.0\usr\lib\SQLite3.lib ^
368+
369+
-G Ninja ^
370+
-S S:\swift-system
371+
372+
cmake --build S:\b\6
373+
```
374+
375+
### TSC (without tests)
376+
377+
```cmd
378+
cmake -B S:\b\7 ^
379+
-D BUILD_SHARED_LIBS=YES ^
380+
-D CMAKE_BUILD_TYPE=RelWithDebInfo ^
381+
-D CMAKE_INSTALL_PREFIX=S:\b\toolchain\usr ^
382+
383+
-D CMAKE_C_COMPILER=S:/b/1/bin/clang-cl.exe ^
384+
-D CMAKE_C_FLAGS="/GS- /Oy /Gw /Gy" ^
385+
-D CMAKE_MT=mt ^
386+
-D CMAKE_EXE_LINKER_FLAGS="/INCREMENTAL:NO" ^
387+
-D CMAKE_SHARED_LINKER_FLAGS="/INCREMENTAL:NO" ^
388+
389+
-D CMAKE_Swift_COMPILER=S:/b/1/bin/swiftc.exe ^
390+
-D dispatch_DIR=S:\b\3\cmake\modules ^
391+
-D Foundation_DIR=S:\b\4\cmake\modules ^
392+
-D SwiftSystem_DIR=S:\b\6\cmake\modules ^
393+
394+
-D CMAKE_TOOLCHAIN_FILE=S:\vcpkg\scripts\buildsystems\vcpkg.cmake ^
395+
366396
-G Ninja ^
367397
-S S:\swift-tools-support-core
368398
369-
ninja -C S:\b\5
399+
cmake --build S:\b\7
370400
```
371401

372402
### llbuild

0 commit comments

Comments
 (0)