SCons
SCons is a free tool of construction of software. SCons is a substitute of the traditional utility Make with functionalities integrated similar to Autoconf/Automake and mask S for Compilateur such as Ccache. In comparison with the older tools, SCons aims at being easier to use, surer and more rapid.
Functionalities
- the files of configuration are scripts Python, which means that the constructions written by the user have access to a complete computer programming language general practitioner.
- machine Analysis of the dependences for the C, the C++ and FORTRAN. Contrary to make, any additional order like " make depend" or " make clean" is not necessary to obtain all the dependences. The analysis of dependences is easily extensible thanks to inspectors of dependences defined by the user for other languages or other types of files. Contrary to Autotools, the analyzer of dependences integrated into GCC is not used. In the place, a search for " #include" is made on all the source files C/C++ with a rational Expression. For a construction based on GCC, that means that generation of dependences can be slower (i.e. an additional course is always necessary) and less sure (in the sense that things such as the flags of the Préprocesseur, like - DSOMETHING, are ignored), but it is more portable since the same course can be employed for compilers other than GCC.
- built-in Support of the C, C++, D, Java, FORTRAN, Yacc, Lex, Qt and SWIG, and of the construction of documents TeX and Latex. Other languages or types of files can be supported thanks to manufacturers defined by the user.
- Construction starting from central deposits of source code and/or pre-built targets.
- Support of the recovery of source files starting from SCCS, RCS, CVS, BitKeeper and Perforce.
- Support of Microsoft Visual Studio .NET and of the old versions of Visual Studio, including the generation of files .dsp, .dsw, .sln and .vcproj
- Detection of changes of contents of file with signatures MD5; optional and configurable support of the traditional stamps.
- Support of parallel constructions which preserve the specified number of simultaneous tasks without taking account of the hierarchy of the repertories.
- Support integrated into the autoconf to find the files #include, the libraries, the functions and the typedefs.
- Seen total of all the dependences, so that multiple master keys of constructions or réordonnements of targets are not necessary.
- Possibility of dividing the files built in a mask to accelerate multiple constructions - as ccache but for any type of target file, not only for compilation C/C++.
- Conceived for constructions multi-platforms, and known to function under Linux, and other systems POSIX (among which AIX, systems *BSD, HP/UX, IRIX and Solaris), Windows NT, Mac OS X and OS/2.
Example of SCons script
Program (“main.c')When the user launches the order “scons”, SCons built achievable “a hand” (under GNU/Linux) or “main.exe” (under Windows).
External bonds
- the site of SCons
| Random links: | Alassane | Octahedral molecule | University of State from California to Dominguez Hills | Acanthiza chrysorrhoa | Joseph-Marie de Gérando | Fleuve_de_Juniata |