File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -605,6 +605,10 @@ option(SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY
605
605
"Enable build of the Swift concurrency module"
606
606
FALSE )
607
607
608
+ option (SWIFT_ENABLE_EXPERIMENTAL_CXX_INTEROP
609
+ "Enable experimental C++ interop modules"
610
+ FALSE )
611
+
608
612
option (SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED
609
613
"Enable experimental distributed actors and functions"
610
614
FALSE )
Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ endif()
65
65
66
66
add_subdirectory (SwiftShims/swift/shims )
67
67
add_subdirectory (CommandLineSupport )
68
- add_subdirectory (Cxx )
68
+ if (SWIFT_ENABLE_EXPERIMENTAL_CXX_INTEROP )
69
+ add_subdirectory (Cxx )
70
+ endif ()
69
71
add_subdirectory (Threading )
70
72
71
73
# This static library is shared across swiftCore and swiftRemoteInspection
Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ cmake ^
212
212
-D LLVM_VERSION_SUFFIX=" " ^
213
213
214
214
-D SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY=YES ^
215
+ -D SWIFT_ENABLE_EXPERIMENTAL_CXX_INTEROP=YES ^
215
216
-D SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED=YES ^
216
217
-D SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING=YES ^
217
218
-D SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING=YES ^
@@ -254,6 +255,7 @@ cmake ^
254
255
-D SWIFT_PATH_TO_STRING_PROCESSING_SOURCE=%SourceRoot% \swift-experimental-string-processing ^
255
256
256
257
-D SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY=YES ^
258
+ -D SWIFT_ENABLE_EXPERIMENTAL_CXX_INTEROP=YES ^
257
259
-D SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED=YES ^
258
260
-D SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING=YES ^
259
261
-D SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING=YES ^
Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ cmake^
262
262
-DSWIFT_BUILD_SOURCEKIT:BOOL=YES^
263
263
-DSWIFT_ENABLE_SOURCEKIT_TESTS:BOOL=YES^
264
264
-DSWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY=YES^
265
+ -DSWIFT_ENABLE_EXPERIMENTAL_CXX_INTEROP=YES^
265
266
-DSWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED=YES^
266
267
-DSWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING=YES^
267
268
-DSWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING=YES^
You can’t perform that action at this time.
0 commit comments