Thread (1 message) 1 message, 1 author, 2020-09-23

Re: [PATCH] cmake: ignore generated files

From: Junio C Hamano <hidden>
Date: 2020-09-23 17:53:34

Junio C Hamano [off-list ref] writes:
"Johannes Schindelin via GitGitGadget" [off-list ref]
writes:
quoted
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.
Sorry, sent too soon.  Either s/update/remove/, or to say that
this project assume things are built in-place.
 * 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help