Re: [Vala] Predefined preprocessor directives, e.g. VALAC_VERSION?
- From: Darren Warner <vala-list dazwin com>
- To: mickey vanille-media de
- Cc: Vala-list <Vala-list gnome org>
- Subject: Re: [Vala] Predefined preprocessor directives, e.g. VALAC_VERSION?
- Date: Mon, 21 Dec 2009 14:39:55 -0800
I've just been looking at that. The following seems to work:
(in configure.ac)
AM_PROG_VALAC([0.7.6])
VALAC_VERSION=$am__vala_version
AC_SUBST(VALAC_VERSION)
(in Makefile.am)
AM_VALAFLAGS=\
--define="VALAC_VERSION= VALAC_VERSION@"
I don't like using $am__vala_version, but I don't think AM_PROG_VALAC
emits anything else. Is there a better way of doing this?
-Darren
Michael 'Mickey' Lauer wrote:
You can do the same already with your build system, and this is where I
think it belongs to.
That said, I do would like to see the preprocessor directives being more
powerful anyways.
:M:
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]