summaryrefslogtreecommitdiffstats
path: root/Source/CMakeVersionSource.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Clean up usage of if(... MATCHES regex) followed string(REGEX REPLACE regex)Rolf Eike Beer2014-04-141-2/+2
| | | | | | The matches have already been calculated and can simply be taken from CMAKE_MATCH_n variables. This avoids multiple compilations of the same or very similar regular expressions.
* Report commit hash in CMake development versionsBrad King2010-04-231-0/+37
For builds from Git repositories, add "-g<commit>" to the end of the version number. If the source tree is modified, append "-dirty". For builds from CVS checkouts, add "-cvs-<branch>".