Allow a postfix to be defined for the version number
A separate build number (etc.) version number postfix can now be added to the build without having to modify source code files by defining VERSION_STR_POSTFIX. This can be done, e.g., by adding following line to .config: CFLAGS += -DVERSION_STR_POSTFIX=\"-foo\"
This commit is contained in:
parent
199716adb3
commit
bf0ed63f3f
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
|||
#ifndef VERSION_H
|
||||
#define VERSION_H
|
||||
|
||||
#define VERSION_STR "0.8.x"
|
||||
#ifndef VERSION_STR_POSTFIX
|
||||
#define VERSION_STR_POSTFIX ""
|
||||
#endif /* VERSION_STR_POSTFIX */
|
||||
|
||||
#define VERSION_STR "0.8.x" VERSION_STR_POSTFIX
|
||||
|
||||
#endif /* VERSION_H */
|
||||
|
|
Loading…
Reference in a new issue