Re: [PATCH] cmake: ignore generated files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 23, 2020, 17:47 UTC
- Message-ID
- <xmqqsgb8idvv.fsf@gitster.c.googlers.com>
- In-Reply-To
- <pull.735.git.1600375065498.gitgitgadget@gmail.com>
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 5 quoted lines
> From: Johannes Schindelin <johannes.schindelin@gmx.de> > > When using CMake to generate the files required to build Git in Visual > Studio, a bunch of files are generated. We will want to prevent them > from being tracked in Git.
If we were to go this route, let's
* update the log message to say that we assume we will use CMake to build in-place.
* update the comment in the top part of the CMakeList.txt that suggests it is a possibility to use it from subdirectories.
* optionally, update the same comment to recommend "clean -xdf" as a way to bring the source tree back to the pristine state.
Will queue with a tentative attempt to do the first bullet point to save one roundtip, something like:
When using CMake to generate the files required to build Git
in-place for Visual Studio, ...Other two points needs help from others (iow, I won't do so myself right now).
Thanks.