Commit Graph

2 Commits

Author SHA1 Message Date
Armin Novak 43faf76a96 Added git function to retrieve current hash. 2014-10-09 16:14:09 +02:00
Bernhard Miklautz 3d59c44f7a Git build versioning added.
Now --version prints something like "This is FreeRDP version 1.0.1 (git
1.0.1-710-g90ec2)". Having a git commit id helps to identify builds and eases
debuggin.

The downside is that GetGitRevisionDescription retriggers a cmake
re-configuration after each git commit. But thats the only way to get correct
version informations without having git hooks or similar.

GetGitRevisionDescription is based on Ryan Pavlik cmake Modules.
2012-07-27 03:11:40 +02:00