Porytiles
Loading...
Searching...
No Matches
build_version.h
Go to the documentation of this file.
1#ifndef PORYTILES_BUILD_VERSION_H
2#define PORYTILES_BUILD_VERSION_H
3
4namespace porytiles {
5
6#define PORYTILES_STRINGIFY(x) #x
7#define PORYTILES_EXPAND(x) PORYTILES_STRINGIFY(x)
8
9#ifndef PORYTILES_EXECUTABLE_
10#define PORYTILES_EXECUTABLE_ porytiles
11#endif
12
13#ifndef PORYTILES_BUILD_VERSION_
14#define PORYTILES_BUILD_VERSION_ default_build_version
15#endif
16
17// @formatter:off
18// clang-format off
19#ifndef PORYTILES_BUILD_DATE_
20#define PORYTILES_BUILD_DATE_ 1970.01.01T00:00:00+00:00
21#endif
22// @formatter:on
23// clang-format on
24
25#define PORYTILES_EXECUTABLE PORYTILES_EXPAND(PORYTILES_EXECUTABLE_)
26#define PORYTILES_BUILD_VERSION PORYTILES_EXPAND(PORYTILES_BUILD_VERSION_)
27#define PORYTILES_BUILD_DATE PORYTILES_EXPAND(PORYTILES_BUILD_DATE_)
28
29} // namespace porytiles
30
31#endif // PORYTILES_BUILD_VERSION_H