[Top][All Lists]

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

Re: Vala support for automake

From: Ralf Wildenhues
Subject: Re: Vala support for automake
Date: Wed, 15 Apr 2009 20:42:45 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Jürg,

* Jürg Billeter wrote on Tue, Apr 07, 2009 at 11:20:36PM CEST:
> I've attached the verbose test log.


I'm looking at adding per-target flag support for vala sources.

Say I have baz.vala and want to create from that
  foo-baz.c foo-baz.h

in one valac invocation, as well as
  bar-baz.c bar-baz.h

in another 'valac -D BAR' invocation.  Is there some flag I can pass to
valac that will use these output names for me?  If yes, does it do so
without generating intermediate baz.c baz.h files or any other temporary
files that have a name  which would conflict with parallel make -jN

Also, I see that your vala compile passes all sources to valac.  Is that
intentional (or just because that was good enough)?  I.e., if you have
  bin_PROGRAMS = foo
  foo_SOURCES = a.c b.vala c.l e.vala

do you really want to invoke
  valac -C a.c b.vala c.l e.vala

rather than
  valac -C b.vala e.vala

or even
  valac -C b.vala
  valac -C e.vala

?  And if per-target flags are used with multiple input files, how would
I specify the renamed output files?


reply via email to

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