osrm-backend/tools
Daniel J. Hofmann 809bdb7c1f Fixes version generation, no longer derives version on git tags.
We were stuck on the 4.5.0 tag from develop, since we searched for the
latest tag, but release tags are done on the master branch.

This commit rips out all the code for deriving the version on git tags.

Instead, we define major, minor, and patch versions in the CMakeLists
and then pass it on to:

- the `libosrm.pc` `pkg-config` file

- a `version.hpp` header that makes use of the preprocessor's string
  concatenation to provide an easy way for generating version string
  literals such as "v4.8.0".

That is, in the source code please now use the following defines:

    #define OSRM_VERSION_MAJOR "@OSRM_VERSION_MAJOR@"
    #define OSRM_VERSION_MINOR "@OSRM_VERSION_MINOR@"
    #define OSRM_VERSION_PATCH "@OSRM_VERSION_PATCH@"

    #define OSRM_VERSION "v" OSRM_VERSION_MAJOR "." OSRM_VERSION_MINOR "." OSRM_VERSION_PATCH
2015-09-30 18:22:25 +02:00
..
.gitignore renamed: Tools/* -> tools/* 2014-11-28 15:36:40 +01:00
check-hsgr.cpp change copyright line from personal names to project 2015-02-19 09:19:51 +01:00
components.cpp Revert the usage of TBB's iterator pair taking overloads. 2015-09-28 20:37:09 +02:00
io-benchmark.cpp Fixes version generation, no longer derives version on git tags. 2015-09-30 18:22:25 +02:00
simpleclient.cpp Fixes version generation, no longer derives version on git tags. 2015-09-30 18:22:25 +02:00
springclean.cpp Fixes version generation, no longer derives version on git tags. 2015-09-30 18:22:25 +02:00
unlock_all_mutexes.cpp Fixes version generation, no longer derives version on git tags. 2015-09-30 18:22:25 +02:00