summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-03-24 04:17:25 (GMT)
committerSteven Knight <knight@baldmt.com>2005-03-24 04:17:25 (GMT)
commit5c0f944169fe7948519e8b6ca54d980e3d6c18c2 (patch)
tree8600c78d8c912807578f3315af123cad76787e99 /doc
parent0f7d8c4cb8b51992117ceee3a63fd98071dbc1ca (diff)
downloadSCons-5c0f944169fe7948519e8b6ca54d980e3d6c18c2.zip
SCons-5c0f944169fe7948519e8b6ca54d980e3d6c18c2.tar.gz
SCons-5c0f944169fe7948519e8b6ca54d980e3d6c18c2.tar.bz2
Allow toolpath to be stored in the environment and re-used for Copy() and Tool() calls. (Chad Austin)
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.115
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 3aac25c..26fcc66 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -1023,6 +1023,19 @@ value if the tool is available.
Tools in the toolpath are used before
any of the built-in ones. For example, adding gcc.py to the toolpath
would override the built-in gcc tool.
+Also note that the toolpath is
+stored in the environment for use
+by later calls to
+.BR Copy ()
+and
+.BR Tool ()
+methods:
+
+.ES
+base = Environment(toolpath=['custom_path'])
+derived = base.Copy(tools=['custom_tool'])
+derived.CustomBuilder()
+.EE
The elements of the tools list may also
be functions or callable objects,
@@ -7382,7 +7395,7 @@ and selects the compiler to be used for the check;
the default is "C".
.TP
-.RI Configure.CheckLib( self ", [" library ", " symbol ", " header ", " language ", " autoadd ])
+.RI Configure.CheckLib( self ", [" library ", " symbol ", " header ", " language ", " autoadd=1 ])
Checks if
.I library
provides