qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 4/8] convert libqemuutil to meson


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 4/8] convert libqemuutil to meson
Date: Sat, 27 Jul 2019 19:20:15 +0100

On Sat, 27 Jul 2019 at 13:24, Paolo Bonzini <address@hidden> wrote:
>
> On 27/07/19 09:16, Markus Armbruster wrote:
> > We started with a single trace-events.  That wasn't good, so we split it
> > up into one per directory.  That isn't good, so what about splitting it
> > up into one per source file?  Pass -DTRACE_HEADER='"trace-DIR-FOO.h"
> > instead of -DTRACE_HEADER='"trace-DIR.h"' when compiling DIR/FOO.c.
>
> For Make this would all work great, however not for Meson because it
> doesn't allow per-file compile flags.

Apologies for randomly parachuting into this email thread, but if
Meson doesn't support per-file compile flags then what's the plan
for handling the cases where we currently need per-file compile flags ?
(This is one of the things that I thought was quite a nice move
forward in our make infrastructure -- we now have clean syntax
for saying "these files need to be built with these warnings disabled
or these extra include paths or whatever" and also "these files
imply we're going to need to link against library X".)

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]