Chapter 8. SCons
The SCons build tool [56] provides a third approach to compiling software. It blends the expressive power of the Python scripting language with some of the stronger features of other build tools. SCons uses high-level builder methods to describe the work to be performed, just as in Ant tasks. Additionally, it takes GNU Make’s approach of generating a dependency graph for the full program. The decision to base the SCons tool on the Python language was an important choice. Python is a fully featured programming language with expressive power equivalent to Java, C++, or C#, making it easy for new users to adopt the language. This contrasts with GNU Make and Ant, which use a completely unique language. Not only must users learn that ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access