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 {
711711 ExperimentalOverlay
712712 ExperimentalStringProcessing
713713 ExperimentalSynchronization
714+ ExperimentalObservation
714715 ExperimentalDispatch
715716 StaticFoundation
716717}
@@ -2426,6 +2427,25 @@ function Build-ExperimentalRuntime {
24262427 SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime) \cmake\SwiftCore" ;
24272428 SwiftOverlay_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalOverlay) \cmake\SwiftOverlay" ;
24282429 }
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+ }
24292449 }
24302450}
24312451
You can’t perform that action at this time.
0 commit comments