<para>
- One very flexible thing that you can is specify
+ One very flexible thing that you can do is
use a construction variable to specify
different emitter functions for different
construction variable.
programs, libraries, documents.
you frequently want to be
able to build some other type of file
- not supported directly by &SCons;
+ not supported directly by &SCons;.
Fortunately, &SCons; makes it very easy
to define your own &Builder; objects
for any custom file types you want to build.
<para>
- With the &Builder; so attached to our &consenv;
+ With the &Builder; attached to our &consenv;
+ with the name &Foo;,
we can now actually call it like so:
</para>
<para>
- One very flexible thing that you can is specify
+ One very flexible thing that you can do is
use a construction variable to specify
different emitter functions for different
construction variable.
Command-line options always begin with
one or two <literal>-</literal> (hyphen) characters.
- &SCons; provides ways for you to examind
+ &SCons; provides ways for you to examine
and set options values from within your &SConscript; files,
as well as the ability to define your own
custom options.
<para>
- Yields the followig output:
+ Yields the following output:
</para>
Of course, you can process the items in the
dictionary returned by the &UnknownVariables; function
- in any way appropriate to your bulid configuration,
+ in any way appropriate to your build configuration,
including just printing a warning message
but not exiting,
logging an error somewhere,
Command-line options always begin with
one or two <literal>-</literal> (hyphen) characters.
- &SCons; provides ways for you to examind
+ &SCons; provides ways for you to examine
and set options values from within your &SConscript; files,
as well as the ability to define your own
custom options.
<para>
- Yields the followig output:
+ Yields the following output:
</para>
Of course, you can process the items in the
dictionary returned by the &UnknownVariables; function
- in any way appropriate to your bulid configuration,
+ in any way appropriate to your build configuration,
including just printing a warning message
but not exiting,
logging an error somewhere,
This avoids a whole class of problems with builds
where a developer's local build works
because a custom variable setting
- causes a different comiler or build option to be used,
+ causes a different compiler or build option to be used,
but the checked-in change breaks the official build
because it uses different environment variable settings.
<envar>os.environ</envar>
dictionary.
This means that you must add an
- <literal>import os</literal> statuement
+ <literal>import os</literal> statement
to any &SConscript; file
in which you want to use
values from the user's external environment.
This avoids a whole class of problems with builds
where a developer's local build works
because a custom variable setting
- causes a different comiler or build option to be used,
+ causes a different compiler or build option to be used,
but the checked-in change breaks the official build
because it uses different environment variable settings.
<envar>os.environ</envar>
dictionary.
This means that you must add an
- <literal>import os</literal> statuement
+ <literal>import os</literal> statement
to any &SConscript; file
in which you want to use
values from the user's external environment.
<para>
- When then executes as follows:
+ Which then executes as follows:
</para>
<para>
- When then executes as follows:
+ Which then executes as follows:
</para>
that &SCons; is configured to supply
the right options to the compiler,
or a developer may want to
- cut-and-paste a comiloe command
+ cut-and-paste a compile command
to add a few options
for a custom test.
that &SCons; is configured to supply
the right options to the compiler,
or a developer may want to
- cut-and-paste a comiloe command
+ cut-and-paste a compile command
to add a few options
for a custom test.
- Allow WINDOWS_INSERT_DEF=0 to disable --output-def when linking
under MinGW.
+ From Zia Sobhani:
+
+ - Fix typos in the User's Guide.
+
From Greg Spencer:
- Support implicit dependency scanning of files encoded in utf-8