* fix: Only define SUFFIX if PR or BRANCH build Also, only define `VERSION_TAG` if VERSION_TAG exists. * fix: Omit GIT SHA for colorlcd also if a tagged build
12 lines
359 B
C
12 lines
359 B
C
#define DATE "@DATE@"
|
|
#define TIME "@TIME@"
|
|
#define VERSION "@VERSION@"
|
|
#define VERSION_SUFFIX "@VERSION_SUFFIX@"
|
|
#cmakedefine VERSION_TAG "@VERSION_TAG@"
|
|
#define CODENAME "@CODENAME@"
|
|
|
|
#define VERSION_MAJOR @VERSION_MAJOR@
|
|
#define VERSION_MINOR @VERSION_MINOR@
|
|
#define VERSION_REVISION @VERSION_REVISION@
|
|
#define GIT_STR "@GIT_STR@"
|