cmake: Move version setup into a separate .cmake file
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 16 Nov 2018 22:09:50 +0000 (23:09 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 18 Nov 2018 10:06:43 +0000 (11:06 +0100)
Introduce a new QuasselVersion.cmake that contains the hard-coded
version, as well as the code for retrieving version information from
git (if available). This file also sets up version.h with the given
information. Remove the corresponding code from the main
CMakeLists.txt.

Output the git revision at configure time if available, which helps
when analyzing build logs.


No differences found