<s>
SCons	B-Application
is	O
a	O
computer	B-Application
software	I-Application
build	O
tool	O
that	O
automatically	O
analyzes	O
source	O
code	O
file	O
dependencies	B-Application
and	O
operating	O
system	O
adaptation	O
requirements	O
from	O
a	O
software	O
project	O
description	O
and	O
generates	O
final	O
binary	O
executables	O
for	O
installation	O
on	O
the	O
target	O
operating	O
system	O
platform	O
.	O
</s>
<s>
Its	O
function	O
is	O
analogous	O
to	O
the	O
traditional	O
GNU	B-Application
build	I-Application
system	I-Application
based	O
on	O
the	O
make	B-Application
utility	O
and	O
the	O
autoconf	B-Application
tools	O
.	O
</s>
<s>
SCons	B-Application
generates	O
project	O
configurations	O
and	O
build	O
process	O
implementations	O
in	O
the	O
form	O
of	O
Python	B-Language
scripts	I-Language
.	O
</s>
<s>
SCons	B-Application
software	O
history	O
started	O
with	O
the	O
Cons	O
software	O
construction	O
utility	O
created	O
by	O
Bob	O
Sidebotham	O
in	O
1999	O
.	O
</s>
<s>
Cons	O
was	O
written	O
in	O
the	O
Perl	B-Language
language	I-Language
.	O
</s>
<s>
It	O
served	O
as	O
a	O
base	O
for	O
the	O
ScCons	O
build	O
tool	O
,	O
a	O
design	O
which	O
won	O
the	B-Application
Software	I-Application
Carpentry	O
project	O
SC	O
Build	O
competition	O
in	O
August	O
2000	O
.	O
</s>
<s>
ScCons	O
was	O
the	O
foundation	O
for	O
SCons	B-Application
.	O
</s>
<s>
SCons	B-Application
inspired	O
the	O
creation	O
of	O
Waf	B-Application
,	O
formerly	O
known	O
as	O
SCons/BKsys	O
,	O
which	O
emerged	O
in	O
the	O
KDE	B-Application
community	I-Application
.	O
</s>
<s>
For	O
some	O
time	O
,	O
there	O
were	O
plans	O
to	O
use	O
it	O
as	O
the	O
build	O
tool	O
for	O
KDE	B-Application
4	O
and	O
beyond	O
,	O
but	O
that	O
effort	O
was	O
abandoned	O
in	O
favor	O
of	O
CMake	B-Language
.	O
</s>
<s>
Notable	O
applications	O
that	O
use	O
SCons	B-Application
include	O
the	O
following	O
:	O
The	B-Application
Battle	I-Application
for	I-Application
Wesnoth	I-Application
,	O
Battlefield	B-Application
1942	I-Application
,	O
Doom	B-Application
3	I-Application
,	O
FCEUX	B-Application
,	O
gem5	O
,	O
gpsd	B-Language
,	O
GtkRadiant	B-Application
,	O
Madagascar	B-Application
,	O
Mixxx	B-Language
,	O
MongoDB	B-Application
,	O
Nullsoft	B-Language
Scriptable	I-Language
Install	I-Language
System	I-Language
,	O
OpenNebula	B-Language
,	O
VMware	O
,,	O
Wolfenstein	B-Application
:	I-Application
Enemy	I-Application
Territory	I-Application
,	O
XORP	B-Protocol
and	O
MCA2	O
,	O
openpilot	B-Application
and	O
Godot	B-Application
.	O
</s>
<s>
.csig	O
is	O
the	O
SCons	B-Application
Content	O
Signature	O
file	O
format	O
.	O
</s>
<s>
Major	O
SCons	B-Application
features	O
include	O
the	O
following	O
:	O
</s>
<s>
Configuration	O
files	O
are	O
Python	B-Language
scripts	I-Language
,	O
which	O
means	O
that	O
user-written	O
builds	O
have	O
access	O
to	O
a	O
complete	O
general-purpose	O
programming	O
language	O
.	O
</s>
<s>
Automatic	O
dependency	B-Application
analysis	O
built-in	O
for	O
C	B-Language
,	O
C++	B-Language
and	O
Fortran	B-Application
.	O
</s>
<s>
Dependency	B-Application
analysis	O
is	O
extensible	O
through	O
user-defined	O
dependency	B-Application
scanners	O
for	O
other	O
languages	O
or	O
file	O
types	O
.	O
</s>
<s>
Unlike	O
the	O
GNU	B-Application
Compiler	I-Application
Collection	I-Application
's	O
(	O
GCC	B-Application
)	O
built-in	O
dependency	B-Application
analysis	O
,	O
it	O
uses	O
a	O
regular	B-Language
expression	I-Language
scan	O
for	O
included	O
source	O
files	O
.	O
</s>
<s>
Built-in	O
support	O
for	O
C	B-Language
,	O
C++	B-Language
,	O
D	B-Application
,	O
Java	B-Language
,	O
Fortran	B-Application
,	O
Objective-C	B-Language
,	O
Yacc	B-Application
,	O
Lex	B-General_Concept
,	O
Qt	B-Language
and	O
SWIG	B-Application
,	O
as	O
well	O
as	O
TeX	B-Application
and	O
LaTeX	B-Application
documents	O
.	O
</s>
<s>
SCons	B-Application
can	O
also	O
handle	O
other	O
languages	O
or	O
file	O
types	O
through	O
user-defined	O
builders	O
.	O
</s>
<s>
Built-in	O
ability	O
to	O
use	O
Microsoft	B-Application
Visual	I-Application
Studio	I-Application
,	O
including	O
the	O
generation	O
of	O
,	O
,	O
and	O
files	O
.	O
</s>
<s>
Detection	O
of	O
file	O
content	O
changes	O
using	O
MD5	B-Algorithm
signatures	O
;	O
optional	O
,	O
configurable	O
ability	O
to	O
use	O
traditional	O
timestamps	O
.	O
</s>
<s>
Integrated	O
Autoconf-like	O
support	O
for	O
finding	O
#include	O
files	O
,	O
libraries	O
,	O
functions	O
and	O
typedefs	B-Language
.	O
</s>
<s>
Global	O
view	O
of	O
all	O
dependencies	B-Application
,	O
so	O
multiple	O
build	O
passes	O
or	O
reordering	O
targets	O
is	O
not	O
required	O
.	O
</s>
<s>
Ability	O
to	O
share	O
built	O
files	O
in	O
a	O
cache	O
to	O
speed	O
up	O
multiple	O
builds	O
-	O
like	O
ccache	B-Application
but	O
for	O
any	O
type	O
of	O
target	O
file	O
,	O
not	O
just	O
C/C	O
++	O
compilation	O
.	O
</s>
<s>
Designed	O
from	O
the	O
ground	O
up	O
for	O
cross-platform	B-Operating_System
builds	O
,	O
and	O
known	O
to	O
work	O
on	O
POSIX	O
systems	O
(	O
including	O
Linux	B-Application
,	O
IBM	B-Application
AIX	I-Application
and	O
OS/2	B-Application
,	O
*	B-Operating_System
BSD	I-Operating_System
Unices	I-Operating_System
,	O
HP-UX	B-Application
,	O
SGI	B-Operating_System
IRIX	I-Operating_System
,	O
Solaris	B-Application
,	O
illumos	B-Application
)	O
,	O
MS	B-Device
Windows	I-Device
NT	I-Device
,	O
Apple	B-Operating_System
OS	I-Operating_System
X	I-Operating_System
.	O
</s>
<s>
The	O
following	O
example	O
is	O
a	O
very	O
simple	O
SConstruct	O
file	O
that	O
compiles	O
the	O
C	B-Language
program	I-Language
file	O
hello-world.c	O
using	O
the	O
default	O
platform	O
compiler	O
:	O
</s>
