Re: [RFC PATCH 0/1] Implement CMake build
- From
Stephan Beyer <s-beyer@gmx.net>
- Date
- Jan 24, 2018, 22:02 UTC
- Message-ID
- <e3d1e1f4-9927-47eb-7662-2c6918555058@gmx.net>
- In-Reply-To
- <CAG6xkCbtVYa_eqZj4m74jXo7yC8kS8kjWm-fALePmHaH5yY0qg@mail.gmail.com>
On 01/24/2018 10:19 PM, Isaac Hier wrote:
> Thanks for your interest! This patch is based on the cmake-build > branch of https://github.com/isaachier/git, but the full history is on > the cmake branch (squashed it for easier readability). Hope that > helps.
Thanks. I use the cmake branch because I prefer "real" history over one huge commit.
And I already love it. Thanks for all the work!
From a first short glance, I wonder if you should mark a lot more options as advanced options, like the paths (e.g., SHELL_PATH, LESS_PATH, GETTEXT_MSGFMT_EXECUTABLE, etc.) and probably also things like GIT_USER_AGENT. If you use a configuration tool like ccmake, you see a lot of options and many of them are not relevant to the average user.
I also think some variables have weird names, for example, POLL, PREAD, MMAP should be USE_POLL, USE_PREAD, USE_MMAP, respectively... or even USE_*_SYSCALL, I don't know.
By the way, regarding up-to-dateness, you are missing these recent changes that have been merged to master:
edb6a17c36 Makefile: NO_OPENSSL=1 should no longer imply BLK_SHA1=1 3f824e91c8 t/Makefile: introduce TEST_SHELL_PATH
(which is not surprising)
~Stephan