Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an easy way of generating universal binaries for each platform #450

Open
mitchmindtree opened this issue Feb 15, 2020 · 1 comment
Open

Comments

@mitchmindtree
Copy link
Member

@mitchmindtree mitchmindtree commented Feb 15, 2020

It would be great if there was an easy way to package nannou exes into easily distributable apps. Perhaps nannou-package could be progressively enhanced to be capable of doing this.

It will likely be the case that users will only be able to generate apps for the platform they are currently building on, however it may be possible to cross-compile and build for other targets in some cases.

  • Determine what universal binary format we should target on each platform. E.g. .app fat binary on macOS, perhaps AppImage on Linux, not sure about Windows.
  • Determine what the process is for building each of these. I believe macOS requires xcode to do this. I would imagine AppImage is easy on Linux. Not sure about Windows.
  • Investigate how other Rust libraries/frameworks currently approach this. See if there are already efforts at automating this process.
  • Add a section to the guide so that users can easily find out how to do this manually in the meantime.
  • Automate the process where possible within nannou-package.
  • Investigate process for iOS and Android. Better to address #444 first.
@mitchmindtree
Copy link
Member Author

@mitchmindtree mitchmindtree commented Feb 15, 2020

cargo-bundle might make this a lot easier!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.