Keyword Arguments
SCons also allows you to identify
the output file and input source files
using Python keyword arguments.
The output file is known as the
target,
and the source file(s) are known (logically enough) as the
source.
The Python syntax for this is:
env = Environment()
list = Split('main.c file1.c file2.')
env.Program(target = 'program', source = list)
|
Whether or not you choose to use keyword arguments
to identify the target and source files
is purely a personal choice;
SCons functions the same either way.