Re: [RFC PATCH v3 15/15] Introduce support for the Meson build system
On Fri, Oct 18, 2024 at 8:24 AM Patrick Steinhardt <ps@pks.im> wrote:
Show 5 quoted lines
> Introduce support for the Meson build system, a "modern" meta build
> system that supports many different plaforms, including Linux, macOS,
> Windows and BSDs. Meson supports different backends, including Ninja,
> Xcode and Microsoft Visual Studio. Several common IDEs provide an
> integration with it.
Show 8 quoted lines
> The biggest contender compared to Meson is probably CMake as outlined in
> our "Documentation/technical/build-systems.txt" file. Based on my own
> personal experience from working with both build systems extensively I
> strongly favor Meson over CMake. In my opinion, it feels significantly
> easier to use with a syntax that feels more like a "real" programming
> language. The second big reason is that Meson supports Rust natively,
> which may prove to be important given that the project is likely to pick
> up Rust as another language eventually.
> # Execute single test interactively to allow fordebugging.
> $ meson test 't0000-*' --interactive --test-args=-ix
s/fordebugging/for debugging/
Show 5 quoted lines
> - We do not install dashed binaries into `$libexec/git-core` anymore.
> So there won't e.g. be a symlink for git-add(1). These are not
> required by modern Git and there isn't really much of a usecase for
> those anymore. By not installing those symlinks we thus start the
> deprecation of this layout.
Show 5 quoted lines
> - We're targeting a Meson 1.3.0, which has been released relatively
> recently November 2023. The only feature we use from that version is
> `fs.relative_to()`, which we could replace if necessary. If so, we
> could start to target Meson 1.0.0 and newer, released in December
> 2022.
s/targeting a Meson/targeting Meson/