git/list[1] front-page[2] threads[3] people[4] search[5] about
 

vcxproj target, was Re: [PATCH] Makefile: drop GEN_HDRS

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 17, 2019, 11:35 UTC
Message-ID
<nycvar.QRO.7.76.6.1912171231450.46@tvgsbejvaqbjf.bet>
In-Reply-To
<20191217052812.GB2762303@coredump.intra.peff.net>
Hi Peff,
On Tue, 17 Dec 2019, Jeff King wrote:
> (did you know that the vcxproj rule manually builds and git-adds
> command-list.h? No idea what is going on there),

The idea of this is that contributors can clone the `vs/master` branch from Git for Windows repository, check it out, and open it in Visual Studio, then build.

Meaning: we cannot use any Unix shell scripts or Makefile targets to
generate _anything_. That's just not an option. It is such a foreign
concept in Visual Studio projects, it is very much Unix-y to think that
everything uses `make` anyway and everybody has access to a Unix shell
interpreter and the many Unix tools including `sed`, `awk`, etc.

Therefore we pre-generate all of those generated files, commit them, and the user does not have to worry about getting ~700MB worth of compressed data, unpack that to a ~2GB build environment that I like to call "Git for Windows SDK", _just_ to generate those files.

That's what's going on there.

Ciao, Dscho

Previous: Jeff KingNext: Jeff King
Message 11 of 12 in “Makefile: drop GEN_HDRS”
  1. Makefile: drop GEN_HDRSJunio C Hamano, Dec 13, 2019
  2. Jeff KingDec 14, 2019
  3. Jeff KingDec 14, 2019
  4. Junio C HamanoDec 16, 2019
  5. Jeff KingDec 16, 2019
  6. Emily ShafferDec 17, 2019
  7. Jonathan NiederDec 17, 2019
  8. Jeff KingDec 17, 2019
  9. Jonathan NiederDec 17, 2019
  10. Jeff KingDec 17, 2019
  11. vcxproj target, was Re: [PATCH] Makefile: drop GEN_HDRSJohannes Schindelin, Dec 17, 2019
  12. Jeff KingDec 19, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.