You must read autotools dicumentation. You must read about VPATH building.

You must use special variables $^ and $@ on your Makefile.am in order to
add prefix to sources files to locale them in source directory not build
one.

You can check my work on GXml in git.gnome.org

For GXml I'm adding support to build a Vala library on Windows and use
VPATH.
El abr 30, 2014 9:52 a.m., "Luca Bruno" <lethalma...@gmail.com> escribió:

> On 30/04/2014 16:39, Andy Tai wrote:
>
>> Hi, when using Vala with GNU autotools, if building from somewhere outside
>> the source directory, as commonly with something like
>>
>> (from the top of source tree)
>> cd ../
>> mkdir build
>> cd build
>> ../src/configure && make
>>
>> the intermediate C sources generated from Vala are placed in the source
>> tree instead of the build tree.  This seems to work, but is it the correct
>> behavior in terms of the build behavior?
>>
>>
>>  Vala is known to not be able to build out of tree. There's a bug which
> should fix this: https://bugzilla.gnome.org/show_bug.cgi?id=725497 .
> _______________________________________________
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to