@sdaau wrote:
I am working on an openFrameworks application, which I compile as both a Linux desktop and Android builds. I was wondering if there is a standard way to assign a version to the application for both these builds.
Ideally I would imagine a text file called
VERSION
in the application directory (the one containing the src/, bin/ folders and the Makefile etc) containing a single line of text with the version string (say a git commit, or date, or semantic versioning string), and then the build process appropriately inserts it in the application: so ultimately, the desktop executable would output it when called with./bin/my_app --version
, and the Android app would show it along with other properties/settings of the app. But I don't recall ever seeing an example that does this.What are my options of implementing versioning like this in my OF app?
Posts: 1
Participants: 1