File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,10 @@ option(SWIFT_ENABLE_PARSEABLE_MODULE_INTERFACES
195195 "Generate .swiftinterface files alongside .swiftmodule files"
196196 TRUE )
197197
198+ option (SWIFT_STDLIB_ENABLE_SIB_TARGETS
199+ "Should we generate sib targets for the stdlib or not?"
200+ FALSE )
201+
198202#
199203# User-configurable Android specific options.
200204#
Original file line number Diff line number Diff line change @@ -102,9 +102,11 @@ function(swift_create_stdlib_targets name variant define_all_alias)
102102endfunction ()
103103
104104swift_create_stdlib_targets("swift-stdlib" "" TRUE )
105- swift_create_stdlib_targets("swift-stdlib" "sib" TRUE )
106- swift_create_stdlib_targets("swift-stdlib" "sibopt" TRUE )
107- swift_create_stdlib_targets("swift-stdlib" "sibgen" TRUE )
105+ if (SWIFT_STDLIB_ENABLE_SIB_TARGETS)
106+ swift_create_stdlib_targets("swift-stdlib" "sib" TRUE )
107+ swift_create_stdlib_targets("swift-stdlib" "sibopt" TRUE )
108+ swift_create_stdlib_targets("swift-stdlib" "sibgen" TRUE )
109+ endif ()
108110swift_create_stdlib_targets("swift-test-stdlib" "" FALSE )
109111
110112foreach (sdk ${SWIFT_SDKS} )
You can’t perform that action at this time.
0 commit comments