File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Sources/BuildSystemIntegration Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -626,6 +626,15 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
626626 if let configuration = options. swiftPMOrDefault. configuration {
627627 arguments += [ " -c " , configuration. rawValue]
628628 }
629+ if let triple = options. swiftPMOrDefault. triple {
630+ arguments += [ " --triple " , triple]
631+ }
632+ if let swiftSDKsDirectory = options. swiftPMOrDefault. swiftSDKsDirectory {
633+ arguments += [ " --swift-sdks-path " , swiftSDKsDirectory]
634+ }
635+ if let swiftSDK = options. swiftPMOrDefault. swiftSDK {
636+ arguments += [ " --swift-sdk " , swiftSDK]
637+ }
629638 arguments += options. swiftPMOrDefault. cCompilerFlags? . flatMap { [ " -Xcc " , $0] } ?? [ ]
630639 arguments += options. swiftPMOrDefault. cxxCompilerFlags? . flatMap { [ " -Xcxx " , $0] } ?? [ ]
631640 arguments += options. swiftPMOrDefault. swiftCompilerFlags? . flatMap { [ " -Xswiftc " , $0] } ?? [ ]
You can’t perform that action at this time.
0 commit comments