scons-example
scons-example copied to clipboard
An example C/C++ project showing how to build a shared library and tests in nested subdirectories using Scons.
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.