-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h.in
26 lines (20 loc) · 1.42 KB
/
config.h.in
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
#define PURPL_NAME "Demo"
#define PURPL_EXECUTABLE_NAME "demo"
#define PURPL_ORGANIZATION "MobSlicer152"
#define PURPL_MAKE_VERSION(Major, Minor, Patch, Build) ((Major) << 24 | (Minor) << 16 | (Patch) << 8 | (Build))
#define PURPL_MAKE_VERSION_STRING_(Major, Minor, Patch, Build) #Major "." #Minor "." #Patch "." #Build
#define PURPL_MAKE_VERSION_STRING(Major, Minor, Patch, Build) PURPL_MAKE_VERSION_STRING_(Major, Minor, Patch, Build)
#define PURPL_MAKE_VERSION_STRING_RC_(Major, Minor, Patch, Build) #Major "," #Minor "," #Patch "," #Build
#define PURPL_MAKE_VERSION_STRING_RC(Major, Minor, Patch, Build) PURPL_MAKE_VERSION_STRING_RC_(Major, Minor, Patch, Build)
#define PURPL_VERSION_MAJOR ${VERSION_MAJOR}
#define PURPL_VERSION_MINOR ${VERSION_MINOR}
#define PURPL_VERSION_PATCH ${VERSION_ALTER}
#define PURPL_VERSION_BUILD ${VERSION_BUILD}
#define PURPL_COMMIT "${GIT_COMMIT}"
#define PURPL_BRANCH "${GIT_BRANCH}"
// Build version doesn't fit in a uint32
#define PURPL_VERSION PURPL_MAKE_VERSION(PURPL_VERSION_MAJOR, PURPL_VERSION_MINOR, PURPL_VERSION_PATCH, 0)
#define PURPL_VERSION_STRING PURPL_MAKE_VERSION_STRING(PURPL_VERSION_MAJOR, PURPL_VERSION_MINOR, PURPL_VERSION_PATCH, PURPL_VERSION_BUILD)
#define PURPL_VERSION_STRING_RC PURPL_MAKE_VERSION_STRING_RC(PURPL_VERSION_MAJOR, PURPL_VERSION_MINOR, PURPL_VERSION_PATCH, PURPL_VERSION_BUILD)
#define PURPL_DISCORD_APP_ID 966365023091961870
#define PURPL_USE_MIMALLOC ${USE_MIMALLOC}