diff options
author | Steven Knight <knight@baldmt.com> | 2005-01-05 21:26:41 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-01-05 21:26:41 (GMT) |
commit | 1344c9c2297d5e0931bfcd15a853b13d8e5caf34 (patch) | |
tree | cb64e69f33383e176fded537d24649dda29c566c /doc | |
parent | afb25b009ee74ade18a9a5b65e62f2ad5b773739 (diff) | |
download | SCons-1344c9c2297d5e0931bfcd15a853b13d8e5caf34.zip SCons-1344c9c2297d5e0931bfcd15a853b13d8e5caf34.tar.gz SCons-1344c9c2297d5e0931bfcd15a853b13d8e5caf34.tar.bz2 |
Use AppendUnique() in ParseConfig(). Provide a unique=0 keyword argument in case someone has a reason to need to allow duplicates.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 417ced4..38a3822 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -3266,7 +3266,7 @@ Returns a list of the target Node or Nodes. '\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .TP -.RI env.ParseConfig( command ", [" function ]) +.RI env.ParseConfig( command ", [" function ", " unique ]) Calls the specified .I function to modify the environment as specified by the output of @@ -3277,15 +3277,25 @@ expects the output of a typical .I *-config command (for example, .BR gtk-config ) -and parses the returned +and adds the options +to the appropriate construction variables. +By default, +duplicate values are not +added to any construction variables; +you can specify +.B unique=0 +to allow duplicate +values to be added. + +By default, .BR -L , .BR -l , .BR -Wa , .BR -Wl , .BR -Wp , .B -I -and other options -into the +and other options, +are add to the .BR LIBPATH , .BR LIBS , .BR ASFLAGS , @@ -3294,7 +3304,7 @@ into the .B CPPPATH and .B CCFLAGS -variables, +construction variables, respectively. A returned .B -pthread |