Scons Hierarchical Build Example
A simple project showing how to build a C/C++ project with a realistic directory structure, including separate src/ and test/ and multiple levels of subdirectories.
Credit to Raymond Penners for the basic sconstruct file.
2017 Edit: Scons has caused me nothing but pain. Use Bazel. You can find an example in the C++ code for Bolt.