www.digitalmars.com         C & C++   DMDScript  

D - SCons tool

SCons is a build tool that does exactly what make does, except that it 
does it way better.  This is a tool plugin that makes it simple to 
compile D source with SCons:

    http://ikagames.com/andy/d/dmd.py

ex:

# builds theProgram.exe on Windows, theProgram on linux

import dmd

env = Environment()
dmd.generate(env)

env.Program('theProgram', src = Split('''
    a.d
    b.d
    TheClass.d
    TheOtherClass.d
'''))

  -- andy
Nov 16 2003