diff options
author | Steven Knight <knight@baldmt.com> | 2004-02-16 06:09:44 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-02-16 06:09:44 (GMT) |
commit | caeea730e14a9f9f7f532d168aac351f3726ecfc (patch) | |
tree | 1d6abfe0ea36e04fab967178a0ecdb553ff63480 /doc | |
parent | 9c118de758d6b40a085446ef19299faa196c85e2 (diff) | |
download | SCons-caeea730e14a9f9f7f532d168aac351f3726ecfc.zip SCons-caeea730e14a9f9f7f532d168aac351f3726ecfc.tar.gz SCons-caeea730e14a9f9f7f532d168aac351f3726ecfc.tar.bz2 |
Add AppendUnique() and PrependUnique() Environment methods. Fix using the qt Tool from a copied construction environment.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index f5c0a70..0b0756a 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -2035,6 +2035,24 @@ after: /biz:/foo/bar:/foo '\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .TP +.RI env.AppendUnique( key = val ", [...])" +Appends the specified keyword arguments +to the end of construction variables in the environment. +If the Environment does not have +the specified construction variable, +it is simply added to the environment. +If the construction variable being appended to is a list, +then any value(s) that already exist in the +construction variable will +.I not +be added again to the list. + +.ES +env.AppendUnique(CCFLAGS = '-g', FOO = ['foo.yyy']) +.EE + +'\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.TP env.BitKeeper() A factory function that returns a Builder object @@ -2941,6 +2959,24 @@ after: /foo/bar:/foo:/biz '\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .TP +.RI env.AppendUnique( key = val ", [...])" +Appends the specified keyword arguments +to the beginning of construction variables in the environment. +If the Environment does not have +the specified construction variable, +it is simply added to the environment. +If the construction variable being appended to is a list, +then any value(s) that already exist in the +construction variable will +.I not +be added again to the list. + +.ES +env.PrependUnique(CCFLAGS = '-g', FOO = ['foo.yyy']) +.EE + +'\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.TP env.RCS() A factory function that returns a Builder object |