added release.txt blurb. Fixed spelling typo in Defaults.xml
[scons.git] / test / ninja / ninja_test_sconscripts / sconstruct_default_targets
blobebcc563ce11aa506a11fce13fba409f0fe0cda79
1 # SPDX-License-Identifier: MIT
3 # Copyright The SCons Foundation
5 import SCons
7 SetOption('experimental', 'ninja')
8 DefaultEnvironment(tools=[])
9 env = Environment(tools=[])
10 env.Tool('ninja')
11 env.Command('out1.txt', 'foo.c', 'echo test > $TARGET')
12 out2_node = env.Command(
13     'out2.txt', 'foo.c', 'echo test > $TARGET', NINJA_FORCE_SCONS_BUILD=True
15 alias = env.Alias('def', out2_node)
17 env.Default(alias)