mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 01:20:40 +01:00
[cmake]: add git and svn version script
Change-Id: Ia1f908986f503191c3e5a6bbe9dc5daa55648b40 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
parent
9da1bfaa04
commit
72a6e3b06a
3 changed files with 79 additions and 15 deletions
|
|
@ -17,10 +17,11 @@
|
|||
#ifndef __VERSION_H__
|
||||
#define __VERSION_H__
|
||||
|
||||
#define SVN_VERSION "@VERSION_REVISION@"
|
||||
#define SVN_AUTHOR "@VERSION_LAST_AUTHOR@"
|
||||
#define SVN_DATE "@VERSION_LAST_DATA@"
|
||||
#define SVN_ONE_LINE "r@VERSION_REVISION@ author: @VERSION_LAST_AUTHOR@ date: @VERSION_LAST_DATA@"
|
||||
#define MPP_VERSION "@VERSION_REVISION@"
|
||||
#define MPP_AUTHOR "@VERSION_LAST_AUTHOR@"
|
||||
#define MPP_DATE "@VERSION_LAST_DATA@"
|
||||
#define MPP_ONE_LINE "@VERSION_ONE_LINE@"
|
||||
#define MPP_VER_NUM "@VERSION_VER_NUM@"
|
||||
|
||||
#endif /*__VERSION_H__*/
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue