File tree 1 file changed +9
-0
lines changed
Sources/BuildSystemIntegration 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 {
684
684
if let configuration = options. swiftPMOrDefault. configuration {
685
685
arguments += [ " -c " , configuration. rawValue]
686
686
}
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
+ }
687
696
arguments += options. swiftPMOrDefault. cCompilerFlags? . flatMap { [ " -Xcc " , $0] } ?? [ ]
688
697
arguments += options. swiftPMOrDefault. cxxCompilerFlags? . flatMap { [ " -Xcxx " , $0] } ?? [ ]
689
698
arguments += options. swiftPMOrDefault. swiftCompilerFlags? . flatMap { [ " -Xswiftc " , $0] } ?? [ ]
You can’t perform that action at this time.
0 commit comments