* fix: Prevent potential wordsplitting of variables
* chore: Remove need for separate cpn 32bit script
* Build script tag/branch/PR auto-detection
* Teach companion about VERSION_TAG
* Update some constant names
* Only one companion build script
* Actually use `VERSION_SUFFIX` in about screen 🤦
* Add space
* Remove line that was only for testing 32bit build
* Remove hyphen between win and bits
* Show codename in Settings -> Version
* cpn: Only show codename on tagged versions
* Update about screen also
* Double quotes around codename on colorlcd
* Update copyright year
* About screen should use VERSION_TAG when set
13 lines
483 B
C
13 lines
483 B
C
#define VERSION "@VERSION@"
|
|
#define VERSION_MAJOR @VERSION_MAJOR@
|
|
#define VERSION_MINOR @VERSION_MINOR@
|
|
#define VERSION_REVISION @VERSION_REVISION@
|
|
#define VERSION_SUFFIX "@VERSION_SUFFIX@"
|
|
#cmakedefine VERSION_TAG "@VERSION_TAG@"
|
|
#define CODENAME "@CODENAME@"
|
|
#define GIT_STR "@GIT_STR@"
|
|
|
|
#define VERSION_NUMBER ((VERSION_MAJOR << 16) | (VERSION_MINOR << 8) | VERSION_REVISION)
|
|
|
|
#define SIMULATOR_LIB_SEARCH_PATH "@SIMULATOR_LIB_PATH@"
|