SCons What makes SCons better?

laofo · 2010年03月20日 · 5 次阅读

[list][] Configuration files are Python scripts--use the power of a real programming language to solve build problems.[] Reliable, automatic dependency analysis built-in for C, C++ and Fortran--no more "make depend" or "make clean" to get all of the dependencies. Dependency analysis is easily extensible through user-defined dependency Scanners for other languages or file types.[] Built-in support for C, C++, D, Java, Fortran, Yacc, Lex, Qt and SWIG, and building TeX and LaTeX documents. Easily extensible through user-defined Builders for other languages or file types.[] Building from central repositories of source code and/or pre-built targets.[] Built-in support for fetching source files from SCCS, RCS, CVS, BitKeeper and Perforce.[] Built-in support for Microsoft Visual Studio .NET and past Visual Studio versions, including generation of .dsp, .dsw, .sln and .vcproj files.[] Reliable detection of build changes using MD5 signatures; optional, configurable support for traditional timestamps.[] Improved support for parallel builds--like make -j but keeps N jobs running simultaneously regardless of directory hierarchy.[] Integrated Autoconf-like support for finding #include files, libraries, functions and typedefs.[] Global view of [i] all dependencies--no more multiple build passes or reordering targets to build everything.[] Ability to share built files in a cache to speed up multiple builds--like ccache but for any type of target file, not just C/C++ compilation.[] Designed from the ground up for cross-platform builds, and known to work on Linux, other POSIX systems (including AIX, *BSD systems, HP/UX, IRIX and Solaris), Windows NT, Mac OS X, and OS/2.[/list]

"We are using [SCons] on Windows (MSVC and Intel compilers), Linux, IRIX and Mac OS X (gcc and two versions of CodeWarrior). Handles all of those with ease. It can do things like properly handle dependencies on auto-generated source and header files, which would be a nightmare in make." —SilentTristero (Slashdot user), 10 July 2003 post

需要 登录 后方可回复。