1 # SPDX-License-Identifier: MIT
3 # Copyright The SCons Foundation
7 SetOption('experimental', 'ninja')
8 DefaultEnvironment(tools=[])
9 env = Environment(tools=[])
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)