You can also use the
Glob function to find all files matching a
certain template, using the standard shell pattern matching
* (to match everything),
? (to match a single character)
[abc] to match any of
[!abc] is also supported,
to match any character except
This makes many multi-source-file builds quite easy:
Glob has powerful capabilities - it matches even if the
file does not currently exist,
but SCons can determine that it would
exist after a build.
You will meet it again reading about
(see Chapter 15, Separating Source and Build Trees: Variant Directories)
(see Chapter 16, Building From Code Repositories).