[libvirt PATCH v2] port libvirt to Meson build system
phrdina at redhat.com
Wed Jul 29 16:09:24 UTC 2020
On Wed, Jul 29, 2020 at 05:32:45PM +0200, Michal Privoznik wrote:
> On 7/29/20 4:38 PM, Pavel Hrdina wrote:
> Maybe this was discussed already, but if not: do we want to have a script
> that would bundle meson + ninja commands, so that we could just
> "./build_and_dont_bother_me.sh". The advantage would be that we could set
> some defaults, just like we're doing for autogen.sh with "--system".
When I was looking into this topic I found that some projects have
configure which is a shell script that calls meson setup and Makefile
which calls ninja -C build. Other projects switched completely and
removed all files related to autotools, automake, shell, make.
I don't think there is a need for such script as developers usually have
their own scripts to build projects. And for the --system option that
one is actually ported to meson, you can use it like this:
meson build -Dsystem=true
ninja -C build
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the libvir-list