mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Add version information to Windows file properties.
Windows can show the version in the file properties. This requires an additional entry in its resource. Restructure global version defines since the former requires a different format than used previously. Change-Id: I2bf261a02ea8e0af6dc081568960debfb779d396
This commit is contained in:
parent
c3a2b20ef2
commit
644b83e0b4
2 changed files with 42 additions and 2 deletions
|
|
@ -26,7 +26,15 @@
|
|||
// rebuilds because of issues like dependency problems or library updates).
|
||||
// Usually empty.
|
||||
#define BUILDID ""
|
||||
#define VERSION "1.2.14" BUILDID
|
||||
// Version string is constructed from parts, since the Windows rc file needs it
|
||||
// combined differently.
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 2
|
||||
#define VERSION_MICRO 14
|
||||
#define VERSION_PATCH 0
|
||||
#define STR(x) #x
|
||||
#define VERSIONSTRING(a, b, c) STR(a) "." STR(b) "." STR(c)
|
||||
#define VERSION VERSIONSTRING(VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO) BUILDID
|
||||
// PUREVERSION should identify the build uniquely. Use version string for now.
|
||||
#define PUREVERSION "$Rev$"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue