Re: [Vala] How to access valac version during runtime?

On Wed, Sep 5, 2012 at 3:03 PM, marcin saepia net <marcin saepia net> 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:

 - Eric

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