Gentoo Archives: gentoo-dev

From: "René 'Necoro' Neumann" <lists@××××××.eu>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New eclass: cmake-utils.eclass
Date: Thu, 08 Nov 2007 16:24:11
Message-Id: 47333764.2020503@necoro.eu
In Reply to: [gentoo-dev] New eclass: cmake-utils.eclass by "Wulf C. Krueger"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi all,
5
6 I just worked on a project using cmake. And I needed the
7 cmake-utils_src_enable function...
8 But it did not work as expected. This is because cmake arguments are in
9 uppercase most of the time, and cmake is case sensitive.
10 And unfortunately the cmake-utils_src_* functions just return the passed
11 in flag literally:
12
13 cmake-utils_src_enable python => -DENABLE_python=...
14
15 Wanted would be that it returned -DENABLE_PYTHON=...
16
17 I'm not into bash scripting that much, so I do not know a way to do so -
18 but I guess someone else is ;)
19
20 Regards,
21 Necoro
22 -----BEGIN PGP SIGNATURE-----
23 Version: GnuPG v1.4.7 (GNU/Linux)
24 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
25
26 iD8DBQFHMzdk4UOg/zhYFuARAg92AJ4qpzuei0P+y+Wfy4dah/MWq4pBAACdG178
27 yEkbV4vpDx3CtFc9pdEfldw=
28 =avlW
29 -----END PGP SIGNATURE-----
30 --
31 gentoo-dev@g.o mailing list

Replies

Subject Author
[gentoo-dev] Re: New eclass: cmake-utils.eclass Steve Long <slong@××××××××××××××××××.uk>