1 # SPDX-License-Identifier: MIT
3 # Copyright The SCons Foundation
7 SetOption('experimental', 'ninja')
8 DefaultEnvironment(tools=[])
9 env = Environment(tools=[])
11 SetOption('skip_ninja_regen', True) # must wait until tool creates the option
13 # make the dependency list vary in order. Ninja tool should sort them to be deterministic.
14 for i in range(1, 10):
15 node = env.Command(f'out{i}.txt', 'foo.c', 'echo test > $TARGET')
16 deps = list(range(1, i))
21 env.Depends(node, f'out{j}.txt')