migueldeicaza / SwiftGodot

New Godot bindings for Swift
https://migueldeicaza.github.io/SwiftGodotDocs/tutorials/swiftgodot-tutorials/
MIT License
1.07k stars 70 forks source link

Add prebuild Windows binaries #521

Open kelteseth opened 3 weeks ago

kelteseth commented 3 weeks ago

Is your feature request related to a problem? Please describe. Building SwiftGodot takes about 13 minutes on my 16 core Ryzen. This is really more of a SwiftPM issue, but let's track it also here.

Describe the solution you'd like I would like to download prebuild SwiftGodot bins for Windows, similar how it is already possible on mac.

Describe alternatives you've considered I have not found any solution to this issue. A forum thread from 2022 asked about Windows binaryTarget and a proposal for linux or none mac binary dependencies. There is also Package Manager Binary Target Improvements, but I was unable to find any example for that proposal.

All of my build files contains absolute paths, so I guess a simple package of the folder will not work.
image

Providing only the prebuild dlls at "SwiftGodot\.build\x86_64-unknown-windows-msvc\debug\SwiftGodot.dll still triggers a full rebuild.

migueldeicaza commented 3 weeks ago

Thanks for opening this issue!