[Scons-users] Executing a command, but with a set of sources that is determined by the build.

Francis Bolduc fbolduc at gmail.com
Tue Sep 11 22:53:15 EDT 2012

How about keeping a list of all nodes and chaining installs, like this:

nodes = []

prog76 = env.Program( 'prog76', sources = srcs )
install76 = env.Install( get_build_directory(), prog76 )
env.Alias( "build", install76 )

many more executables and shared libraries

stage = env.Install( get_staging_directory(), nodes )
env.Alias( 'stage', stage )
env.Depends( 'stage', 'build' )

More information about the Scons-users mailing list