]> sigrok.org Git - pulseview.git/commit
build: Limit auto-versioning to git revision hash
authorDaniel Elstner <redacted>
Mon, 2 Nov 2015 21:14:39 +0000 (22:14 +0100)
committerDaniel Elstner <redacted>
Mon, 2 Nov 2015 21:14:39 +0000 (22:14 +0100)
commit812c0e3592e51946947b55c54b906bf4a0cb30e9
treeb05da8420a4d306b0d50c3a25e37d4c6a7216896
parentdb8a1b5c7e7cc3663fa8582749db289383c68313
build: Limit auto-versioning to git revision hash

When building from a git checkout and HEAD does not exactly match
a tag, append the shortened revision hash to the hardcoded version
string. Do not attempt to provide any information beyond that.

This brings the PulseView versioning in line with the other modules
in the sigrok stack.
CMake/GetGitRevisionDescription.cmake
CMake/writepackageversion.cmake [deleted file]
CMakeLists.txt