资 源 简 介
SCons is a great build system. Sure, it can be a little slow for larger projects, but it really gets the job done right. My only criticism is the tragic lack of a good configuration system. SConfigure attempts to rectify this.
SConfigure implements a dependency driven package configuration system. The inspiration for this comes from BuildSystem, written mainly by Matt Knepley, which also uses a dependency graph to determine which order packages need to be configured.
A project specifies which packages (MPI, libXML, OpenGL, for example) it depends on and SConfigure takes care of the rest. It searches common locations for these packages, provides default configuration options (with, without, etc.), allows the user to specify details about the package configuration (requires shared libraries, exports a preprocessor definition if found, etc.) and exports the results for later use with SCons.