Seperated versioning into seperate file, added snapshot
This commit is contained in:
@@ -739,6 +739,10 @@
|
||||
RelativePath=".\src\include\ToolEnum.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\include\versioning.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\include\VS2005CompatShim.h"
|
||||
>
|
||||
|
||||
12
Dialogs.rc
12
Dialogs.rc
@@ -6,17 +6,7 @@
|
||||
#include <commctrl.h>
|
||||
#include <richedit.h>
|
||||
#include "src/include/resource.h"
|
||||
|
||||
#define APP_GENER 0
|
||||
#define APP_MAJOR 0
|
||||
#define APP_MINOR 106
|
||||
#define APP_PATCH 4
|
||||
#define APP_VER_STRING APP_GENER.APP_MAJOR.APP_MINOR.APP_PATCH
|
||||
|
||||
#define VER_PREFIX( N ) v##N
|
||||
#define HSTR( N ) #N
|
||||
#define STR( N ) HSTR( N )
|
||||
#define VER_STR( N ) STR( VER_PREFIX( N ) )
|
||||
#include "src/include/versioning.h"
|
||||
|
||||
|
||||
|
||||
|
||||
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