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 | eb166cfd770fc411f6121e7436339b85fb5f4c83 (patch) | |
tree | 1d6abfe0ea36e04fab967178a0ecdb553ff63480 /doc/man | |
parent | c87ce3ed14d0f4e08fcdc0d475051840654503a0 (diff) | |
download | SCons-eb166cfd770fc411f6121e7436339b85fb5f4c83.zip SCons-eb166cfd770fc411f6121e7436339b85fb5f4c83.tar.gz SCons-eb166cfd770fc411f6121e7436339b85fb5f4c83.tar.bz2 |
Add AppendUnique() and PrependUnique() Environment methods. Fix using the qt Tool from a copied construction environment.
Diffstat (limited to 'doc/man')
-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 |