On Thu, 7 Mar 2019 at 10:40, Paolo Bonzini <pbonz...@redhat.com> wrote: > --- > # This would be ui/meson.build: > > vnc_sources = source_set.source_set() > vnc_sources.add([], files( > 'vnc.c', > 'vnc-auth-vencrypt.c', > 'vnc-enc-hextile.c', > 'vnc-enc-tight.c', > 'vnc-enc-zlib.c', > 'vnc-enc-zrle.c', > 'vnc-jobs.c', > 'vnc-palette.c', > 'vnc-ws.c')) > vnc_sources.add('CONFIG_VNC_SASL', files( > 'vnc-auth-sasl.c'))
All this foo_sources.add() seems pretty clunky syntax, which doesn't seem like a good sign for what is pretty much the simplest possible case for the build system. thanks -- PMM