Revision 976aaedca0c6f64b37f4241bf06fa7ab06095986 authored by Johannes Schindelin on 29 July 2019, 20:08:12 UTC, committed by Junio C Hamano on 29 July 2019, 21:51:43 UTC
The entire idea of generating the VS solution makes only sense if we
generate it via Continuous Integration; otherwise potential users would
still have to download the entire Git for Windows SDK.

If we pre-generate the Visual Studio solution, Git can be built entirely
within Visual Studio, and the test scripts can be run in a regular Git
for Windows (e.g. the Portable Git flavor, which does not include a full
GCC toolchain and therefore weighs only about a tenth of Git for
Windows' SDK).

So let's just add a target in the Makefile that can be used to generate
said solution; The generated files will then be committed so that they
can be pushed to a branch ready to check out by Visual Studio users.

To make things even more useful, we also generate and commit other files
that are required to run the test suite, such as templates and
bin-wrappers: with this, developers can run the test suite in a regular
Git Bash after building the solution in Visual Studio.

Note: for this build target, we do not actually need to initialize the
`vcpkg` system, so we don't.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 384a61b
History
File Mode Size
nedmalloc
poll
regex
vcbuild
win32
access.c -rw-r--r-- 669 bytes
apple-common-crypto.h -rw-r--r-- 2.7 KB
basename.c -rw-r--r-- 1.3 KB
bswap.h -rw-r--r-- 5.2 KB
fileno.c -rw-r--r-- 117 bytes
fopen.c -rw-r--r-- 938 bytes
gmtime.c -rw-r--r-- 605 bytes
hstrerror.c -rw-r--r-- 530 bytes
inet_ntop.c -rw-r--r-- 4.8 KB
inet_pton.c -rw-r--r-- 6.8 KB
memmem.c -rw-r--r-- 752 bytes
mingw.c -rw-r--r-- 63.3 KB
mingw.h -rw-r--r-- 15.5 KB
mkdir.c -rw-r--r-- 468 bytes
mkdtemp.c -rw-r--r-- 153 bytes
mmap.c -rw-r--r-- 711 bytes
msvc.c -rw-r--r-- 113 bytes
msvc.h -rw-r--r-- 823 bytes
obstack.c -rw-r--r-- 13.6 KB
obstack.h -rw-r--r-- 19.0 KB
pread.c -rw-r--r-- 433 bytes
precompose_utf8.c -rw-r--r-- 4.6 KB
precompose_utf8.h -rw-r--r-- 1.3 KB
qsort.c -rw-r--r-- 1.2 KB
qsort_s.c -rw-r--r-- 1.3 KB
setenv.c -rw-r--r-- 862 bytes
sha1-chunked.c -rw-r--r-- 362 bytes
sha1-chunked.h -rw-r--r-- 81 bytes
snprintf.c -rw-r--r-- 1.5 KB
stat.c -rw-r--r-- 1.1 KB
strcasestr.c -rw-r--r-- 431 bytes
strdup.c -rw-r--r-- 169 bytes
strlcpy.c -rw-r--r-- 247 bytes
strtoimax.c -rw-r--r-- 214 bytes
strtoumax.c -rw-r--r-- 217 bytes
terminal.c -rw-r--r-- 2.5 KB
terminal.h -rw-r--r-- 142 bytes
unsetenv.c -rw-r--r-- 591 bytes
win32.h -rw-r--r-- 878 bytes
win32mmap.c -rw-r--r-- 1.1 KB
winansi.c -rw-r--r-- 16.2 KB

back to top