dmd

waflib.Tools.dmd.find_dmd(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext

Finds the program dmd, dmd2, or ldc and set the variable D

waflib.Tools.dmd.common_flags_ldc(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext

Sets the D flags required by ldc

waflib.Tools.dmd.common_flags_dmd(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext

Set the flags required by dmd or dmd2

waflib.Tools.dmd.configure(conf)[source]

Configuration for dmd, dmd2, and ldc

waflib.Tools.dmd.conf(f)

Decorator: attach new configuration functions to waflib.Build.BuildContext and waflib.Configure.ConfigurationContext. The methods bound will accept a parameter named ‘mandatory’ to disable the configuration errors:

def configure(conf):
        conf.find_program('abc', mandatory=False)
Parameters:f (function) – method to bind