Scons is a build tool similar to GNU MAKE; it is written in Python, so the configuration files of Scons are written in Python. This new feature make the configuration more controllable in high language.
With Scons, the traditional make dep is not necessary, it has automatic dependency analysis built-in for C, C++ and Fortran. It contains built-in support for C, C++, D, Java, Fortran, Yacc, Lex, Qt and SWIG, and building TeX and LaTeX documents.
In addition to the traditional support of build change detection based on timestamp, it also uses MD5 signatre to detection build change.
Typically, it is called like scons build/ALPHA_FS/m5.opt then Scons will build directory build/ALPHA_FS to store the compiled files. It read in the SConstruct file just like the Makefile when using Make. The SConstruct is written in Python, then all the left is automatically done.
阅读(321) | 评论(0) | 转发(0) |