[Scons-users] global cleanup

Francis Bolduc fbolduc at gmail.com
Wed Aug 22 08:18:54 EDT 2012


You can alias an alias. Aliases can be re-used multiple times.
Creating an 'All' alias is quite simple.

p = env.Program(...)
a = env.Alias('MySuperProgram', p)
env.Alias('All', a)

Also, you can invoke SCons with a directory target. It will then build
(or clean) everything within that directory. Giving the current
directory should cover everything unless your SConstruct is not
top-level.

$ scons -c .

However, if you shuffle stuff around outside your source directory,
such as when using the Install method, this may not work as expected.

--
Francis Bolduc, B.Sc.


More information about the Scons-users mailing list