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
243243 "If not building stdlib, controls whether to build 'stdlib/toolchain' content"
244244 TRUE )
245245
246+ option (SWIFT_BUILD_STDLIB_CXX_MODULE
247+ "If not building stdlib, controls whether to build the Cxx module"
248+ TRUE )
249+
246250# In many cases, the CMake build system needs to determine whether to include
247251# a directory, or perform other actions, based on whether the stdlib or SDK is
248252# being built at all -- statically or dynamically. Please note that these
@@ -1265,6 +1269,9 @@ else()
12651269
12661270 if (SWIFT_BUILD_STDLIB_EXTRA_TOOLCHAIN_CONTENT)
12671271 add_subdirectory (stdlib/toolchain)
1272+ endif ()
1273+
1274+ if (SWIFT_BUILD_STDLIB_CXX_MODULE)
12681275 add_subdirectory (stdlib/public /Cxx)
12691276 endif ()
12701277
You can’t perform that action at this time.
0 commit comments