digitalmars.D.learn - scons and D: flags
- Ellery Newcomer (2/2) Sep 11 2012 how do you pass compiler flags through scons?
- Russel Winder (14/17) Sep 11 2012 Depends on the SConstruct (and optionally SConscript), but you need to
- Ellery Newcomer (2/9) Sep 11 2012 dmd.py's doc header doesn't say this.
- Russel Winder (18/19) Sep 11 2012 That doesn't surprise me :-( The module documentation is currently
how do you pass compiler flags through scons? e.g. -unittest, -property
Sep 11 2012
On Tue, 2012-09-11 at 10:40 -0700, Ellery Newcomer wrote:how do you pass compiler flags through scons? =20 e.g. -unittest, -propertyDepends 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. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Sep 11 2012
On 09/11/2012 11:42 AM, Russel Winder wrote:On Tue, 2012-09-11 at 10:40 -0700, Ellery Newcomer wrote:dmd.py's doc header doesn't say this.how do you pass compiler flags through scons? e.g. -unittest, -propertyDepends 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.
Sep 11 2012
On Tue, 2012-09-11 at 12:12 -0700, Ellery Newcomer wrote: [...]dmd.py's doc header doesn't say this.That doesn't surprise me :-( The module documentation is currently worse than poor. Not to mention the entries in the SCons manual are dreadful or non-existent. Might be useful to add issues at Tigris so that these points don't get lost. Also it can act as a driver to get things done by all and sundry. Thanks. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Sep 11 2012