forked from PopRe/Pop-World-Editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversion.h
28 lines (22 loc) · 1.02 KB
/
version.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
#define STRINGIZE2(s) #s
#define STRINGIZE(s) STRINGIZE2(s)
// The build increment is expected to be overridden by the continuous build system.
#ifndef BUILD_INCREMENT
#define BUILD_INCREMENT 0
#endif
#define APPNAME "Populous World Editor For Levelv3"
// Determine the version number constants.
#define MAJOR_VERSION 1
#define MINOR_VERSION 2
#define REVISION_NUMBER 1
#define BUILD_NUMBER BUILD_INCREMENT
#define VER_FILE_VERSION MAJOR_VERSION, MINOR_VERSION, REVISION_NUMBER, BUILD_NUMBER
#define VER_FILE_VERSION_STR STRINGIZE(MAJOR_VERSION) \
"," STRINGIZE(MINOR_VERSION) \
"," STRINGIZE(REVISION_NUMBER) \
"," STRINGIZE(BUILD_NUMBER) \
#define POPEDT_VERSION STRINGIZE(MAJOR_VERSION) \
"." STRINGIZE(MINOR_VERSION) \
"." STRINGIZE(REVISION_NUMBER) \
"." STRINGIZE(BUILD_NUMBER)