-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 19.04.2010 22:27, schrieb Oswald Buddenhagen:
> On Mon, Apr 19, 2010 at 02:18:13PM +0200, ext Tilman Vogel wrote:
>> Right and I guess, the right thing would be to do the concatting as a
>> cartesian product, i.e. if SRCDIR = { "../srcA", "../srcB" }, then the
>> include should get an array as argument { "../srcA/abc/def.pri",
>> "../srcB/abc/def.pri" } (or rather be called for each of them).
>>
> this might work in *this* case. the complete solution is akin to solving
> the halting problem ...

Ok, maybe the approach looking at all the branches is just too much. Why
not define a set of configurations (maybe based on qmake.conf files the
user may pick) and just parse the pro file for every configuration once
in non-cumulative mode and then concat all the results? Sounds a lot
less complex. To me it seems, the pro file parsing tries to be a bit too
clever. Probably the evaluation of the given set of configurations could
even be done efficiently in one pass.

Tilman

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkvM39UACgkQ9ZPu6Yae8lkclwCfewi51EgOPMFLn6doB1LpHhaR
jFAAoIqPS6jM2HueVgJNqXxziPrU0k3Y
=fc8a
-----END PGP SIGNATURE-----
_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to