O'Reilly logo

Software Build Systems: Principles and Experience by Peter Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required