Re: [libvirt PATCH v2] port libvirt to Meson build system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

    ./build/src/libvirtd
    ./build/tools/virsh

Pavel

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux