diff options
author | Steven Knight <knight@baldmt.com> | 2002-03-22 17:21:00 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-03-22 17:21:00 (GMT) |
commit | 2b87cbae264462efe494aa7ee07841ffb7ebaa0d (patch) | |
tree | 012844c97585092e3af23aeac926ac2ba8c58712 /doc | |
parent | 8587b92b72c166857467b2f718560148a9549ad3 (diff) | |
download | SCons-2b87cbae264462efe494aa7ee07841ffb7ebaa0d.zip SCons-2b87cbae264462efe494aa7ee07841ffb7ebaa0d.tar.gz SCons-2b87cbae264462efe494aa7ee07841ffb7ebaa0d.tar.bz2 |
Make env['FOO'] by shorthand for env.Dictionary()['FOO'] (Anthony Roach)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 5d8a0a5..16c5e6b 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -994,6 +994,12 @@ dict = env.Dictionary() dict["CC"] = "cc" .EE +or using the [] operator: + +.ES +env["CC"] = "cc" +.EE + Construction variables can also be passed to the construction environment constructor: |