fish-shell/cmake
Mahmoud Al-Qudsi 25839b8c36 Generate FISH_BUILD_VERSION info for cmake builds
Correctly generate FISH_BUILD_VERSION for use in fish_version.h/cpp and
fish.pc to allow `fish --version` and `echo $version` to work again.

Not needing the same convoluted measures used by Makefile builds to
prevent the regeneration of the fish version file when it hasn't
changed.

Purposely created a new `cmake_git_version_gen.sh` file so that the old
`git_version_gen.sh` remains compatible with the existing Makefile build
script. Same reason why `fish.pc.in` was not modified to use a lowercase
variable name to match the CMAKE variable of the same name.

Closes #4626
2017-12-30 17:38:09 -06:00
..
CheckIncludeFiles.cmake cmake: update CheckIncludeFiles to enable C++ checks 2017-11-17 16:21:56 +08:00
ConfigureChecks.cmake cmake: add SED to build_lexicon_filter 2017-11-28 21:37:42 +08:00
Docs.cmake cmake: add SED to build_lexicon_filter 2017-11-28 21:37:42 +08:00
gettext.cmake cmake: correct configure check for _nl_msg_cat_cntr 2017-11-17 16:21:56 +08:00
Install.cmake Generate FISH_BUILD_VERSION info for cmake builds 2017-12-30 17:38:09 -06:00
PCRE2.cmake Move CMakeFiles to cmake 2017-11-17 16:21:55 +08:00
Tests.cmake Mark tests as USES_TERMINAL 2017-12-21 12:48:17 -08:00