-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVersion.h
More file actions
27 lines (22 loc) · 811 Bytes
/
Version.h
File metadata and controls
27 lines (22 loc) · 811 Bytes
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
#pragma once
#include "include/GitVersion.h"
#define IOFTPD_VERSION_MAJOR 7
#define IOFTPD_VERSION_MINOR 10
#define IOFTPD_VERSION_PATCH 1
#define IOFTPD_VERSION_BUILD IOFTPD_GIT_COMMIT_COUNT
// String helpers
#define STRINGIFY2(x) #x
#define STRINGIFY(x) STRINGIFY2(x)
#define IOFTPD_VERSION_STRING \
STRINGIFY(IOFTPD_VERSION_MAJOR) "." \
STRINGIFY(IOFTPD_VERSION_MINOR) "." \
STRINGIFY(IOFTPD_VERSION_PATCH) "." \
STRINGIFY(IOFTPD_VERSION_BUILD)
// Full version string with git build number and commit hash suffix,
// e.g. "7.10.1.66-b2c9759" or "7.10.1.66-b2c9759-dirty"
#define IOFTPD_VERSION_FULL \
STRINGIFY(IOFTPD_VERSION_MAJOR) "." \
STRINGIFY(IOFTPD_VERSION_MINOR) "." \
STRINGIFY(IOFTPD_VERSION_PATCH) "." \
STRINGIFY(IOFTPD_VERSION_BUILD) \
IOFTPD_GIT_SUFFIX