Seperated versioning into seperate file, added snapshot
This commit is contained in:
23
src/include/versioning.h
Normal file
23
src/include/versioning.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef APP_GENER
|
||||
|
||||
#define SNAPSHOT_VERSION
|
||||
|
||||
#define APP_GENER 0
|
||||
#define APP_MAJOR 0
|
||||
#define APP_MINOR 107
|
||||
#define APP_PATCH 0
|
||||
#define APP_VER_STRING APP_GENER.APP_MAJOR.APP_MINOR.APP_PATCH
|
||||
|
||||
|
||||
#ifdef SNAPSHOT_VERSION
|
||||
#define VER_PREFIX( N ) v##N-SNAPSHOT
|
||||
#else
|
||||
#define VER_PREFIX( N ) v##N
|
||||
#endif
|
||||
|
||||
|
||||
#define HSTR( N ) #N
|
||||
#define STR( N ) HSTR( N )
|
||||
#define VER_STR( N ) STR( VER_PREFIX( N ) )
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user