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 @@ -684,6 +684,15 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
684684 if let configuration = options. swiftPMOrDefault. configuration {
685685 arguments += [ " -c " , configuration. rawValue]
686686 }
687+ if let triple = options. swiftPMOrDefault. triple {
688+ arguments += [ " --triple " , triple]
689+ }
690+ if let swiftSDKsDirectory = options. swiftPMOrDefault. swiftSDKsDirectory {
691+ arguments += [ " --swift-sdks-path " , swiftSDKsDirectory]
692+ }
693+ if let swiftSDK = options. swiftPMOrDefault. swiftSDK {
694+ arguments += [ " --swift-sdk " , swiftSDK]
695+ }
687696 arguments += options. swiftPMOrDefault. cCompilerFlags? . flatMap { [ " -Xcc " , $0] } ?? [ ]
688697 arguments += options. swiftPMOrDefault. cxxCompilerFlags? . flatMap { [ " -Xcxx " , $0] } ?? [ ]
689698 arguments += options. swiftPMOrDefault. swiftCompilerFlags? . flatMap { [ " -Xswiftc " , $0] } ?? [ ]
You can’t perform that action at this time.
0 commit comments