summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-11-12 13:43:54 (GMT)
committerSteven Knight <knight@baldmt.com>2002-11-12 13:43:54 (GMT)
commit889f0c7238da15a89be500e40ce9f73102e31b8c (patch)
tree92ed84c42045815814f2cb39fc39e7c5984c5bb7 /doc
parent1cfff0b089cc56024ed5ea71c33ad843373bb9fc (diff)
downloadSCons-889f0c7238da15a89be500e40ce9f73102e31b8c.zip
SCons-889f0c7238da15a89be500e40ce9f73102e31b8c.tar.gz
SCons-889f0c7238da15a89be500e40ce9f73102e31b8c.tar.bz2
Add the ParseConfig() method. (Steve Leblanc)
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.128
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 3d7d034..928c361 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -2345,6 +2345,34 @@ Import("env", "variable")
.EE
.TP
+.RI ParseConfig( env , command ", [" function ])
+Calls the specified
+.I function
+to modify the specified environment
+.I env
+as specified by the output of
+.I command .
+The default
+.I function
+expects the output of a typical
+.I *-config command
+(for example,
+.BR gtk-config )
+and parses the returned
+.BR -L ,
+.BR -l ,
+.B -I
+and other options
+into the
+.BR LIBPATH ,
+.BR LIBS ,
+.B CPPPATH
+and
+.B CCFLAGS
+variables,
+respectively.
+
+.TP
.RI Platform( string )
Returns a callable object
that can be used to initialize