scons and D: flags

Ellery Newcomer ellery-newcomer at utulsa.edu
Tue Sep 11 12:12:00 PDT 2012


On 09/11/2012 11:42 AM, Russel Winder wrote:
> 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.
>

dmd.py's doc header doesn't say this.


More information about the Digitalmars-d-learn mailing list