CatapultServer  v0.5.0.1 (Elephant)
version.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "version_inc.h"
23 #include <iosfwd>
24 
25 #define STRINGIFY2(STR) #STR
26 #define STRINGIFY(STR) STRINGIFY2(STR)
27 
28 #define CATAPULT_BASE_VERSION \
29  STRINGIFY(CATAPULT_VERSION_MAJOR) "." \
30  STRINGIFY(CATAPULT_VERSION_MINOR) "." \
31  STRINGIFY(CATAPULT_VERSION_REVISION) "." \
32  STRINGIFY(CATAPULT_VERSION_BUILD)
33 
34 #ifdef CATAPULT_VERSION_DESCRIPTION
35 #define CATAPULT_VERSION CATAPULT_BASE_VERSION " " CATAPULT_VERSION_DESCRIPTION
36 #else
37 #define CATAPULT_VERSION CATAPULT_BASE_VERSION
38 #endif
39 
40 #define CATAPULT_COPYRIGHT "Copyright (c) Jaguar0625, gimre, BloodyRookie, Tech Bureau, Corp."
41 
42 namespace catapult { namespace version {
43 
45  void WriteVersionInformation(std::ostream& out);
46 }}
CATAPULT_VERSION
#define CATAPULT_VERSION
Definition: version.h:37
CATAPULT_COPYRIGHT
#define CATAPULT_COPYRIGHT
Definition: version.h:40
version.h
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::version::WriteVersionInformation
void WriteVersionInformation(std::ostream &out)
Writes custom version information to out.
Definition: version.cpp:26
version_inc.h