[Scons-users] Debugging scons scripts

Russel Winder russel at winder.org.uk
Thu Aug 9 09:22:40 EDT 2012


On Wed, 2012-08-08 at 17:23 +0200, Bjoern Doebel wrote:
[…]

> conf = Configure(env)

> if not conf.CheckCC(): sys.exit(1)

> [... additional stuff ...]

> if not conf.CheckLib("boost_serialization", language="C++"): sys.exit(1)

> env = conf.Finish()


I have no idea if this is anything to do with the problem you have, but
I am always suspicious of a sys.exit in a SCons file. I would use
Exit(1).

--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20120809/9abd4516/attachment.pgp>


More information about the Scons-users mailing list