added release.txt blurb. Fixed spelling typo in Defaults.xml
[scons.git] / test / ninja / ninja_test_sconscripts / sconstruct_control_c_ninja
blob7fdcf2995067f19b848efe88751166919bc7fafb
1 # SPDX-License-Identifier: MIT
3 # Copyright The SCons Foundation
5 import os
6 import signal
8 SetOption('experimental', 'ninja')
9 DefaultEnvironment(tools=[])
11 env = Environment()
12 env.Tool('ninja')
13 env.Program(target='foo', source='foo.c')
15 if ARGUMENTS.get('NINJA_DISABLE_AUTO_RUN', 0):
16     os.kill(os.getppid(), signal.SIGINT)