nannou-org/nannou

Provide an easy way of generating universal binaries for each platform

Open

#450 opened on Feb 15, 2020

View on GitHub
 (1 comment) (2 reactions) (0 assignees)Rust (4,662 stars) (254 forks)batch import
good first issueuser experience

Description

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.

Contributor guide