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
195
195
"Generate .swiftinterface files alongside .swiftmodule files"
196
196
TRUE )
197
197
198
+ option (SWIFT_STDLIB_ENABLE_SIB_TARGETS
199
+ "Should we generate sib targets for the stdlib or not?"
200
+ FALSE )
201
+
198
202
#
199
203
# User-configurable Android specific options.
200
204
#
Original file line number Diff line number Diff line change @@ -102,9 +102,11 @@ function(swift_create_stdlib_targets name variant define_all_alias)
102
102
endfunction ()
103
103
104
104
swift_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 ()
108
110
swift_create_stdlib_targets ("swift-test-stdlib" "" FALSE )
109
111
110
112
foreach (sdk ${SWIFT_SDKS} )
You can’t perform that action at this time.
0 commit comments