File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1075,6 +1075,20 @@ function Build-CMakeProject {
1075
1075
} else {
1076
1076
TryAdd- KeyValue $Defines CMAKE_Swift_COMPILER (Join-Path - Path (Get-PinnedToolchainTool ) - ChildPath " swiftc.exe" )
1077
1077
}
1078
+
1079
+ $DebugSwiftC = $Defines [" CMAKE_Swift_COMPILER" ]
1080
+ Write-Host " DEBUG DEBUG DEBUG CMAKE_Swift_COMPILER: $DebugSwiftC "
1081
+ $DumpSwiftC = dumpbin / Dependents $DebugSwiftC
1082
+ Write-Host " DEBUG DEBUG DEBUG DumpSwiftC: $DumpSwiftC "
1083
+ $BinFolder = Split-Path $DebugSwiftC
1084
+ Write-Host " DEBUG DEBUG DEBUG BinFolder: $BinFolder "
1085
+ $DumpChildren = Get-ChildItem $BinFolder
1086
+ Write-Host " DEBUG DEBUG DEBUG DumpChildren: $DumpChildren "
1087
+ $SwiftDriver = Join-Path - Path $BinFolder - ChildPath " swift-driver.exe"
1088
+ Write-Host " DEBUG DEBUG DEBUG SwiftDriver: $SwiftDriver "
1089
+ $DumpSwiftDriver = dumpbin / Dependents $SwiftDriver
1090
+ Write-Host " DEBUG DEBUG DEBUG DumpSwiftDriver: $DumpSwiftDriver "
1091
+
1078
1092
if (-not ($Platform -eq " Windows" )) {
1079
1093
TryAdd- KeyValue $Defines CMAKE_Swift_COMPILER_WORKS = " YES"
1080
1094
}
You can’t perform that action at this time.
0 commit comments