diff options
author | Steven Knight <knight@baldmt.com> | 2002-11-12 13:43:54 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-11-12 13:43:54 (GMT) |
commit | 889f0c7238da15a89be500e40ce9f73102e31b8c (patch) | |
tree | 92ed84c42045815814f2cb39fc39e7c5984c5bb7 /doc | |
parent | 1cfff0b089cc56024ed5ea71c33ad843373bb9fc (diff) | |
download | SCons-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.1 | 28 |
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 |