From: Daniel Elstner Date: Thu, 23 Jul 2015 21:31:25 +0000 (+0200) Subject: Build: Make hardcoded version override git tag X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=d69b3c315c5335091a659a3c268cd5f7e27a4b26;hp=d69b3c315c5335091a659a3c268cd5f7e27a4b26;p=pulseview.git Build: Make hardcoded version override git tag Reintroduce the hard-coded version number in CMakeList.txt, but still check for a tagged version. If the hard-coded version is more recent than the latest tag, then use that but with a "-pre" suffix in place of the patch level. In either case, still append the revision hash and possibly the dirty flag to the version, unless git HEAD exactly matches a tag. ---