@@ -553,9 +553,61 @@ cmake ^
553
553
cmake --build %BuildRoot% \13 || (exit /b)
554
554
cmake --build %BuildRoot% \13 --target install || (exit /b)
555
555
556
+ :: Build swift-asn1
557
+ cmake ^
558
+ -B %BuildRoot% \14 ^
559
+
560
+ -D BUILD_SHARED_LIBS=NO ^
561
+ -D CMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE% ^
562
+ -D CMAKE_C_COMPILER=%BuildRoot% /1/bin/clang-cl.exe ^
563
+ -D CMAKE_C_FLAGS=" /GS- /Oy /Gw /Gy" ^
564
+ -D CMAKE_CXX_COMPILER=%BuildRoot% /1/bin/clang-cl.exe ^
565
+ -D CMAKE_CXX_FLAGS=" /GS- /Oy /Gw /Gy" ^
566
+ -D CMAKE_MT=mt ^
567
+ -D CMAKE_Swift_COMPILER=%BuildRoot% /1/bin/swiftc.exe ^
568
+ -D CMAKE_EXE_LINKER_FLAGS=" /INCREMENTAL:NO" ^
569
+ -D CMAKE_SHARED_LINKER_FLAGS=" /INCREMENTAL:NO" ^
570
+
571
+ -D CMAKE_INSTALL_PREFIX=%InstallRoot% ^
572
+
573
+ -D dispatch_DIR=%BuildRoot% \3\cmake\modules ^
574
+ -D Foundation_DIR=%BuildRoot% \4\cmake\modules ^
575
+
576
+ -G Ninja ^
577
+ -S %SourceRoot% \swift-asn1 || (exit /b)
578
+ cmake --build %BuildRoot% \14 || (exit /b)
579
+ cmake --build %BuildRoot% \14 --target install || (exit /b)
580
+
581
+ :: Build swift-certificates
582
+ cmake ^
583
+ -B %BuildRoot% \15 ^
584
+
585
+ -D BUILD_SHARED_LIBS=NO ^
586
+ -D CMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE% ^
587
+ -D CMAKE_C_COMPILER=%BuildRoot% /1/bin/clang-cl.exe ^
588
+ -D CMAKE_C_FLAGS=" /GS- /Oy /Gw /Gy" ^
589
+ -D CMAKE_CXX_COMPILER=%BuildRoot% /1/bin/clang-cl.exe ^
590
+ -D CMAKE_CXX_FLAGS=" /GS- /Oy /Gw /Gy" ^
591
+ -D CMAKE_MT=mt ^
592
+ -D CMAKE_Swift_COMPILER=%BuildRoot% /1/bin/swiftc.exe ^
593
+ -D CMAKE_EXE_LINKER_FLAGS=" /INCREMENTAL:NO" ^
594
+ -D CMAKE_SHARED_LINKER_FLAGS=" /INCREMENTAL:NO" ^
595
+
596
+ -D CMAKE_INSTALL_PREFIX=%InstallRoot% ^
597
+
598
+ -D dispatch_DIR=%BuildRoot% \3\cmake\modules ^
599
+ -D Foundation_DIR=%BuildRoot% \4\cmake\modules ^
600
+ -D SwiftCrypto_DIR=%BuildRoot% \12\cmake\modules ^
601
+ -D SwiftASN1_DIR=%BuildRoot% \14\cmake\modules ^
602
+
603
+ -G Ninja ^
604
+ -S %SourceRoot% \swift-certificates || (exit /b)
605
+ cmake --build %BuildRoot% \15 || (exit /b)
606
+ cmake --build %BuildRoot% \15 --target install || (exit /b)
607
+
556
608
:: Build swift-package-manager
557
609
cmake ^
558
- -B %BuildRoot% \14 ^
610
+ -B %BuildRoot% \16 ^
559
611
560
612
-D CMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE% ^
561
613
-D CMAKE_C_COMPILER=%BuildRoot% /1/bin/clang-cl.exe ^
@@ -579,17 +631,19 @@ cmake ^
579
631
-D SwiftDriver_DIR=%BuildRoot% \11\cmake\modules ^
580
632
-D SwiftCrypto_DIR=%BuildRoot% \12\cmake\modules ^
581
633
-D SwiftCollections_DIR=%BuildRoot% \13\cmake\modules ^
634
+ -D SwiftASN1_DIR=%BuildRoot% \14\cmake\modules ^
635
+ -D SwiftCertificates_DIR=%BuildRoot% \15\cmake\modules ^
582
636
-D SQLite3_INCLUDE_DIR=%BuildRoot% \Library\sqlite-3.36.0\usr\include ^
583
637
-D SQLite3_LIBRARY=%BuildRoot% \Library\sqlite-3.36.0\usr\lib\SQLite3.lib ^
584
638
585
639
-G Ninja ^
586
640
-S %SourceRoot% \swiftpm || (exit /b)
587
- cmake --build %BuildRoot% \14 || (exit /b)
588
- cmake --build %BuildRoot% \14 --target install || (exit /b)
641
+ cmake --build %BuildRoot% \16 || (exit /b)
642
+ cmake --build %BuildRoot% \16 --target install || (exit /b)
589
643
590
644
:: Build IndexStoreDB
591
645
cmake ^
592
- -B %BuildRoot% \15 ^
646
+ -B %BuildRoot% \17 ^
593
647
594
648
-D BUILD_SHARED_LIBS=NO ^
595
649
-D CMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE% ^
@@ -609,11 +663,11 @@ cmake ^
609
663
610
664
-G Ninja ^
611
665
-S %SourceRoot% \indexstore-db || (exit /b)
612
- cmake --build %BuildRoot% \15 || (exit /b)
666
+ cmake --build %BuildRoot% \17 || (exit /b)
613
667
614
668
:: Build swift-syntax
615
669
cmake ^
616
- -B %BuildRoot% \16 ^
670
+ -B %BuildRoot% \18 ^
617
671
618
672
-D CMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE% ^
619
673
-D CMAKE_C_COMPILER=%BuildRoot% /1/bin/clang-cl.exe ^
@@ -627,12 +681,12 @@ cmake ^
627
681
628
682
-G Ninja ^
629
683
-S %SourceRoot% \swift-syntax || (exit /b)
630
- cmake --build %BuildRoot% \16 || (exit /b)
631
- cmake --build %BuildRoot% \16 --target install || (exit /b)
684
+ cmake --build %BuildRoot% \18 || (exit /b)
685
+ cmake --build %BuildRoot% \18 --target install || (exit /b)
632
686
633
687
:: Build SourceKit-LSP
634
688
cmake ^
635
- -B %BuildRoot% \17 ^
689
+ -B %BuildRoot% \19 ^
636
690
637
691
-D BUILD_SHARED_LIBS=YES ^
638
692
-D CMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE% ^
@@ -657,12 +711,12 @@ cmake ^
657
711
-D SwiftPM_DIR=%BuildRoot% \14\cmake\modules ^
658
712
-D IndexStoreDB_DIR=%BuildRoot% \15\cmake\modules ^
659
713
-D SwiftCollections_DIR=%BuildRoot% \13\cmake\modules ^
660
- -D SwiftSyntax_DIR=%BuildRoot% \16 \cmake\modules ^
714
+ -D SwiftSyntax_DIR=%BuildRoot% \18 \cmake\modules ^
661
715
662
716
-G Ninja ^
663
717
-S %SourceRoot% \sourcekit-lsp || (exit /b)
664
- cmake --build %BuildRoot% \17 || (exit /b)
665
- cmake --build %BuildRoot% \17 --target install || (exit /b)
718
+ cmake --build %BuildRoot% \19 || (exit /b)
719
+ cmake --build %BuildRoot% \19 --target install || (exit /b)
666
720
667
721
:: Create Configuration Files
668
722
python -c " import plistlib; print(str(plistlib.dumps({ 'DefaultProperties': { 'DEFAULT_USE_RUNTIME': 'MD' } }), encoding='utf-8'))" > %SDKInstallRoot% \SDKSettings.plist
0 commit comments