SCons C++ A Simple Build


Example

It is very easy to build a simple C++ project. Here is an example of a SConstruct file that does so:

env=Environment()

env.Program('hello', Glob('src/*.cpp'))

This creates the executable hello composed of all the sources in src with extension cpp.