File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -711,6 +711,7 @@ enum Project {
711
711
ExperimentalOverlay
712
712
ExperimentalStringProcessing
713
713
ExperimentalSynchronization
714
+ ExperimentalObservation
714
715
ExperimentalDispatch
715
716
StaticFoundation
716
717
}
@@ -2426,6 +2427,25 @@ function Build-ExperimentalRuntime {
2426
2427
SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime) \cmake\SwiftCore" ;
2427
2428
SwiftOverlay_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalOverlay) \cmake\SwiftOverlay" ;
2428
2429
}
2430
+
2431
+ Build-CMakeProject `
2432
+ - Src $SourceCache \swift\Runtimes\Supplemental\Observation `
2433
+ - Bin (Get-ProjectBinaryCache $Platform ExperimentalObservation) `
2434
+ - InstallTo " $ ( Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" ) \usr" `
2435
+ - Platform $Platform `
2436
+ - UseBuiltCompilers CXX, Swift `
2437
+ - UseGNUDriver `
2438
+ - Defines @ {
2439
+ BUILD_SHARED_LIBS = if ($Static ) { " NO" } else { " YES" };
2440
+ CMAKE_FIND_PACKAGE_PREFER_CONFIG = " YES" ;
2441
+ CMAKE_CXX_FLAGS = @ (" -I$ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime) \include" );
2442
+ CMAKE_Swift_COMPILER_TARGET = (Get-ModuleTriple $Platform );
2443
+ CMAKE_Swift_COMPILER_WORKS = " YES" ;
2444
+ CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
2445
+ CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2446
+
2447
+ SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime) \cmake\SwiftCore" ;
2448
+ }
2429
2449
}
2430
2450
}
2431
2451
You can’t perform that action at this time.
0 commit comments