ldc2

waflib.Tools.ldc2.find_ldc2(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext

Finds the program ldc2 and set the variable D

waflib.Tools.ldc2.common_flags_ldc2(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext

Sets the D flags required by ldc2

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

Configuration for ldc2

waflib.Tools.ldc2.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