]> sigrok.org Git - pulseview.git/commit
build: Derive PulseView version from git tags
authorDaniel Elstner <redacted>
Sat, 18 Jul 2015 19:36:51 +0000 (21:36 +0200)
committerUwe Hermann <redacted>
Sat, 25 Jul 2015 17:11:40 +0000 (19:11 +0200)
commit1e8c82e90f947b5803430b08b7912ea3c95fd604
tree8ee42f14a9d098088c2a5fd82a66e2cf51b0cc54
parentf32905530347e1020d5ce7959123cf797c9a4829
build: Derive PulseView version from git tags

Derive the PulseView version numbers and suffix from the git
repository if available. In order to make builds from source
tarballs work, also include a generated VERSION file in the
source package generated by CPack.

The included GetGitRevisionDescription.cmake file is a copy
from the https://github.com/rpavlik/cmake-modules repository.
.gitignore
CMake/GetGitRevisionDescription.cmake [new file with mode: 0644]
CMake/GetGitRevisionDescription.cmake.in [new file with mode: 0644]
CMake/writepackageversion.cmake [new file with mode: 0644]
CMakeLists.txt