diff options
author | Victor Popov <v.a.popov@gmail.com> | 2019-05-20 13:24:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-20 13:24:56 +0300 |
commit | fa8b0fac007f4ec951258955a5c3ffede5b212e8 (patch) | |
tree | dee1d0e72647784ef6146cd9dde3a858bd5381cf /generator | |
parent | 77a9bf92e381618de0cc6e1099e1ca1777bfe4be (diff) | |
parent | bb7a7dc729ab4d3d01f6f0cd0a8060da537ad870 (diff) |
Merge pull request #10869 from maksimandrianov/omim_version
[omim][generator] Added generator_tool version.
Diffstat (limited to 'generator')
-rw-r--r-- | generator/generator_tool/generator_tool.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generator/generator_tool/generator_tool.cpp b/generator/generator_tool/generator_tool.cpp index 64457f0109..155a4b1dda 100644 --- a/generator/generator_tool/generator_tool.cpp +++ b/generator/generator_tool/generator_tool.cpp @@ -71,6 +71,7 @@ #define BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED #include <boost/stacktrace.hpp> +#include "build_version.hpp" #include "defines.hpp" #include "3party/gflags/src/gflags/gflags.h" @@ -223,7 +224,8 @@ int GeneratorToolMain(int argc, char ** argv) google::SetUsageMessage( "Takes OSM XML data from stdin and creates data and index files in several passes."); - + google::SetVersionString(std::to_string(omim::build_version::git::kTimestamp) + " " + + omim::build_version::git::kHash); google::ParseCommandLineFlags(&argc, &argv, true); auto threadsCount = thread::hardware_concurrency(); |