Skip to content

Commit ce6ac28

Browse files
committed
build.ps1: enable the C++ interop on Windows
With the last changes to the C++ interop support in the new runtimes build, the default on Windows matches what it is on Apple platforms. Explicitly opt into the C++ overlay build on Windows.
1 parent 13c3ed9 commit ce6ac28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/build.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2577,6 +2577,8 @@ function Build-ExperimentalRuntime([Hashtable] $Platform, [switch] $Static = $fa
25772577
CMAKE_STATIC_LIBRARY_PREFIX_Swift = "lib";
25782578

25792579
SwiftCore_DIR = "${RuntimeBinaryCache}\cmake\SwiftCore";
2580+
2581+
SwiftOverlay_ENABLE_CXX_INTEROP = "YES";
25802582
}
25812583

25822584
Build-CMakeProject `

0 commit comments

Comments
 (0)