File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,10 @@ option(SWIFT_BUILD_STDLIB_EXTRA_TOOLCHAIN_CONTENT
243
243
"If not building stdlib, controls whether to build 'stdlib/toolchain' content"
244
244
TRUE )
245
245
246
+ option (SWIFT_BUILD_STDLIB_CXX_MODULE
247
+ "If not building stdlib, controls whether to build the Cxx module"
248
+ TRUE )
249
+
246
250
# In many cases, the CMake build system needs to determine whether to include
247
251
# a directory, or perform other actions, based on whether the stdlib or SDK is
248
252
# being built at all -- statically or dynamically. Please note that these
@@ -1265,6 +1269,9 @@ else()
1265
1269
1266
1270
if (SWIFT_BUILD_STDLIB_EXTRA_TOOLCHAIN_CONTENT )
1267
1271
add_subdirectory (stdlib/toolchain )
1272
+ endif ()
1273
+
1274
+ if (SWIFT_BUILD_STDLIB_CXX_MODULE )
1268
1275
add_subdirectory (stdlib/public/Cxx )
1269
1276
endif ()
1270
1277
You can’t perform that action at this time.
0 commit comments