Skip to content

Commit 9960c6c

Browse files
committed
[cxx-interop] Build the C++ stdlib overlay when SWIFT_BUILD_SDK_OVERLAY=NO
The C++ stdlib overlay binaries (`libswiftCxx` and `libswiftCxxStdlib`) are now a part of the toolchain, not the OS SDKs. This makes sure that these binaries are built when building the toolchain separately from the stdlib. rdar://105799283
1 parent 5a3220e commit 9960c6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ endif()
6262

6363
add_subdirectory(SwiftShims/swift/shims)
6464
add_subdirectory(CommandLineSupport)
65+
add_subdirectory(Cxx)
6566
add_subdirectory(Threading)
6667

6768
# This static library is shared across swiftCore and swiftRemoteInspection
@@ -159,7 +160,6 @@ endif()
159160

160161
if(SWIFT_BUILD_SDK_OVERLAY OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
161162
add_subdirectory(Platform)
162-
add_subdirectory(Cxx)
163163
endif()
164164

165165
if(SWIFT_BUILD_SDK_OVERLAY)

0 commit comments

Comments
 (0)