aboutsummaryrefslogtreecommitdiff
path: root/cmake/GetGitRevisionDescription.cmake
Commit message (Collapse)AuthorAge
* build: run git-describe for dev version during build (#11117)Daniel Hahler2019-09-30
| | | | | | | | This avoids invoking CMake after a new commit, which might take 15s on some systems. Skipped on CMake < 3.2.0 (missing BYPRODUCTS support). Co-Authored-By: Justin M. Keyes <justinkz@gmail.com>
* CMake: Force use of project directory to look for Git data.Florian Walch2015-11-01
| | | | | | | | | | Before this change, building Neovim would recursively search parent directories for a .git directory. If Neovim was downloaded as a tarball (i.e. without a .git directory), but placed in a subdirectory of a Git repository, this caused a CMake error. Such a situation could occur when packaging Neovim, for example. Unfortunately, the previous attempt in #3317 did not fix this problem.
* build: only manipulate out if getting the timestamp was successfulJohn Szakmeister2014-12-03
| | | | | This fixes an issue seen in #1548, though the real problem is something different.
* build: no need to quote the paths in CMake, it will do it automaticallyJohn Szakmeister2014-12-03
|
* cmake: handle missing git or .git/Justin M. Keyes2014-10-15
| | | | | | | GetGitRevisionDescription.cmake: we don't need fine-grained failure modes, we only need "yes" or "no". fix #1292
* homebrew: look for .git/ outside of build workspace #1274Xu Cheng2014-10-15
|
* version: generate "build number" from commit timestampJustin M. Keyes2014-10-07
| | | | | | | | | | - cmake: git_timestamp() returns last commit time formatted as `YYYYMMddHHmm`. - Always include commit hash in :version and --version output. `nvim --version` sample output: NVIM 0.0.0-alpha+201410070245 (compiled Oct 7 2014 05:30:45) Commit: f747b2b1ff7bfe7eb00cc2be82d7af87c98f1111
* version: report commit hash as "build number" in long version stringJustin M. Keyes2014-10-07