Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make CMake version dirty state available to code | Tobias Hunger | 2016-07-14 | 1 | -1/+3 |
| | | | | | Set `CMake_VERSION_IS_DIRTY` to 1 or 0 depending on whether the CMake source tree is considered dirty or not. | ||||
* | Clean up usage of if(... MATCHES regex) followed string(REGEX REPLACE regex) | Rolf Eike Beer | 2014-04-14 | 1 | -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 versions | Brad King | 2010-04-23 | 1 | -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>". |