diff options
author | Sibi Siddharthan <sibisiddharthan.github@gmail.com> | 2020-06-26 16:11:36 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-26 10:08:46 -0700 |
commit | f7adba41820bbcfb86349c2ebc529f626d2313e3 (patch) | |
tree | ca6edb64e8db97040e03ae2c435dee2b00315099 /Documentation/git-merge-base.txt | |
parent | cmake: support for testing git when building out of the source tree (diff) | |
download | tgif-f7adba41820bbcfb86349c2ebc529f626d2313e3.tar.xz |
cmake: support for building git on windows with mingw
This patch facilitates building git on Windows with CMake using MinGW
NOTE: The funtions unsetenv and hstrerror are not checked in Windows
builds.
Reasons
NO_UNSETENV is not compatible with Windows builds.
lines 262-264 compat/mingw.h
compat/mingw.h(line 25) provides a definition of hstrerror which
conflicts with the definition provided in
git-compat-util.h(lines 733-736).
To use CMake on Windows with MinGW do this:
cmake `relative-path-to-srcdir` -G "MinGW Makefiles"
Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-merge-base.txt')
0 files changed, 0 insertions, 0 deletions