Add compile date and time to version.c
This commit is contained in:
parent
767aa75c25
commit
2c2e4c1484
@ -21,7 +21,9 @@
|
|||||||
#ifndef _VERSION_H_
|
#ifndef _VERSION_H_
|
||||||
#define _VERSION_H_
|
#define _VERSION_H_
|
||||||
|
|
||||||
extern const char *git_version_string;
|
extern const char *version_git_version_string;
|
||||||
extern const char *git_full_commit_string;
|
extern const char *version_git_full_commit_string;
|
||||||
|
extern const char *version_compile_date;
|
||||||
|
extern const char *version_compile_time;
|
||||||
|
|
||||||
#endif /* _VERSION_H_ */
|
#endif /* _VERSION_H_ */
|
@ -21,5 +21,7 @@
|
|||||||
#include <reflow-controller/version.h>
|
#include <reflow-controller/version.h>
|
||||||
#include <generated-version/version.h>
|
#include <generated-version/version.h>
|
||||||
|
|
||||||
const char *git_version_string = GIT_VERSION_STRING;
|
const char *version_git_version_string = GIT_VERSION_STRING;
|
||||||
const char *git_full_commit_string = GIT_FULL_COMMIT;
|
const char *version_git_full_commit_string = GIT_FULL_COMMIT;
|
||||||
|
const char *version_compile_date = __DATE__;
|
||||||
|
const char *version_compile_time = __TIME__;
|
Loading…
Reference in New Issue
Block a user