scons and D: flags

Russel Winder russel at winder.org.uk
Tue Sep 11 11:42:18 PDT 2012


On Tue, 2012-09-11 at 10:40 -0700, Ellery Newcomer wrote:
> how do you pass compiler flags through scons?
> 
> e.g. -unittest, -property

Depends on the SConstruct (and optionally SConscript), but you need to
get a list of the options into the DFLAGS of the environment you are
compiling in.

-- 
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: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20120911/1d64532a/attachment.pgp>


More information about the Digitalmars-d-learn mailing list