Re: [PATCH] cmake: ignore generated files
From: Junio C Hamano <hidden>
Date: 2020-09-23 17:47:39
"Johannes Schindelin via GitGitGadget" [off-list ref] writes:
From: Johannes Schindelin <redacted> 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.