import os
import signal

SetOption('experimental', 'ninja')
DefaultEnvironment(tools=[])

env = Environment()
env.Tool('ninja')
env.Program(target='foo', source='foo.c')

if ARGUMENTS.get('NINJA_DISABLE_AUTO_RUN', 0):
    os.kill(os.getppid(), signal.SIGINT)
