发布时间:2022-07-05 文章分类:编程知识 投稿人:李佳 字号: 默认 | | 超大 打印

What is SCons?

SCons is an Open Source software construction tool—that is, a
next-generation build tool. Think of SCons as an improved, cross-platform
substitute for the classic Make
utility with integrated functionality similar
to autoconf/automake and compiler caches such as ccache.
In short, SCons is an
easier, more reliable and faster way to build software.

" is a fantastic build system, written in Python (1.5.2) that does lots of nice things like automated dependencies, cross platform operation, configuration, and other great stuff. I would have to say that it is probably going to be the best thing for building C/C++ projects in the near future."
— Zed A. Shaw, Bombyx project lead

What makes SCons better?

"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

Where did SCons come from?

began life as the ScCons build
tool design which won the Software Carpentry SC
Build competition in August 2000. That design was in turn based on the Cons software construction utility. This
project has been renamed to reflect that
it is no longer directly connected with Software Carpentry (well, that, and to
make it slightly easier to type...).