summaryrefslogtreecommitdiffstats
path: root/doc/man/scons.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/scons.1')
-rw-r--r--doc/man/scons.119
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 99ddfa0..ec28669 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -2944,6 +2944,10 @@ The command line used to call the TeX formatter and typesetter.
.IP TEXFLAGS
General options passed to the TeX formatter and typesetter.
+.IP TOOLS
+A list of the names of the Tool specifications
+that are part of this construction environment.
+
.IP WIN32_INSERT_DEF
When this is set to true,
a library build of a WIN32 shared library (.dll file)
@@ -4170,6 +4174,21 @@ tools keyword of the Environment() method.
env = Environment(tools = [ Tool('msvc') ])
.EE
+The object may be called with a construction
+environment as an argument,
+in which case the object will be
+add the necessary variables
+to the construction environment
+and the name of the tool will be added to the
+.B $TOOLS
+construction variable.
+
+.ES
+env = Environment()
+t = Tool('msvc')
+t(env) # adds 'msvc' to the TOOLS variable
+.EE
+
.TP
.RI Value( value )
Returns a Node object representing the specified Python value. Value