compiler_dΒΆ

Try to detect a D compiler from the list of supported compilers:

def options(opt):
        opt.load('compiler_d')
def configure(cnf):
        cnf.load('compiler_d')
def build(bld):
        bld.program(source='main.d', target='app')

Only three D compilers are really present at the moment:

  • gdc

  • dmd, the ldc compiler having a very similar command-line interface

  • ldc2