Patch to select compiler on command line

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sat Oct 15 21:14:40 CEST 2005


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

Hello,

here a small patch for bksys/generic.py to select the compiler by
command line. This is needed on win32 (and maybe other platforms) when
you've more than one compiler installed. In this case SCons uses the
first compiler specified in scons/__init__.py:tool_list()

It first looks for command line argument 'platform' and if not found for
environment variable QMAKESPEC to detect the compiler the user wants to
use. If none of the above is found, SCons can decide by his own.
For linux and macos I simply return False for now.


Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDUVUgnNKwkgf+zVMRApD9AJ9XKAztgUCl4OcIvAagGwDhH1DmoACgpmCn
6OwMcyT+1IXpTs+9l/5EhtM=
=aWjL
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bksys.patch
Url: http://mail.kde.org/pipermail/kde-buildsystem/attachments/20051015/56f8e1e3/bksys.ksh


More information about the Kde-buildsystem mailing list