[Spice-devel] [PATCH spice-gtk] RFC: build-sys: move codegen & proto to spice-common

Alon Levy alevy at redhat.com
Wed Mar 21 06:09:16 PDT 2012


On Wed, Mar 21, 2012 at 12:48:13PM +0100, Marc-André Lureau wrote:
> On Wed, Mar 21, 2012 at 11:14 AM, Alon Levy <alevy at redhat.com> wrote:
> > 2. iiuc some files (sw_canvas) are not in common? any reason?
> 
> There are still a couple of files that could be moved to common. and
> some work left to make libspice-common a nice library.
> 
> > 3. #include "common/bla" -> #include "spice-common/bla" ?
> 
> I think as long as we use the local spice-common/common directory, we
> can refer to the files via "common/bla". What I have in mind is that
> we should have one include <spice-common.h> under
> $prefix/include/spice-common-1/spice-common.h, in turn including
> common/*

#include "filename" looks first in the directory of the file containing
the #include statement, right? otherwise "common" is a little common..
but I expect so, so sounds good.

> 
> -- 
> Marc-André Lureau
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list