[ci skip] update generated files
[scons.git] / test / TEMPFILE / fixture / SConstruct.tempfiledir
blob0e45b7feeb7f1c1fb756895614ef61c86243dd50
1 # SPDX-License-Identifier: MIT
3 # Copyright The SCons Foundation
5 import os
7 my_temp_dir = os.path.join(os.getcwd(), 'my_temp_files')
9 DefaultEnvironment(tools=[])
10 env = Environment(
11     BUILDCOM='${TEMPFILE("xxx.py $TARGET $SOURCES")}',
12     MAXLINELENGTH=16,
13     TEMPFILEDIR=my_temp_dir,
15 env.AppendENVPath('PATH', os.curdir)
16 env.Command('foo.out', 'foo.in', '$BUILDCOM')
18 plain_env = Environment(
19     BUILDCOM='${TEMPFILE("xxx.py $TARGET $SOURCES")}',
20     MAXLINELENGTH=16,
22 plain_env.Command('global_foo.out', 'foo.in', '$BUILDCOM')