#!/usr/bin/python
Import ('env')

SConscript(['audaspace/SConscript',
            'string/SConscript',
            'ghost/SConscript',
            'guardedalloc/SConscript',
            'moto/SConscript',
            'container/SConscript',
            'memutil/SConscript/',
            'decimation/SConscript',
            'iksolver/SConscript',
            'itasc/SConscript',
            'boolop/SConscript',
            'opennl/SConscript',
            'mikktspace/SConscript',
            'smoke/SConscript'])

# NEW_CSG was intended for intern/csg, but
# getting it to compile is difficult
# intern/bsp has been used anyway, so
# perhaps get rid of intern/csg?
NEW_CSG='false'

if not env['BF_NO_ELBEEM']:
    SConscript(['elbeem/SConscript'])

if NEW_CSG=='false':
    SConscript(['bsp/SConscript'])
else:
    SConscript(['csg/SConscript'])
