On Wed, Sep 5, 2012 at 3:03 PM, [email protected] <[email protected]> wrote:

> If not, could you recommend any tested solution for adding it to
> config.h during running ./configure?
>

We've been using -d for this purpose. As long as your needs aren't too
complex it's very straightforward -- in Vala, you just declare the symbol
as an extern in the global namespace.

For an example look at how we passed through "_VERSION", "_INSTALL_PREFIX",
etc. to Geary:
http://git.yorba.org/cgit.cgi/geary/tree/src/client/geary-application.vala

 - Eric
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to