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 ...
Get Software Build Systems: Principles and Experience now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.