diff options
author | Steven Knight <knight@baldmt.com> | 2003-02-25 20:01:52 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-02-25 20:01:52 (GMT) |
commit | e8892813997ba494550cfa003ce60807f559bc88 (patch) | |
tree | 6628deea1a90e9eeb3e48d9ae317e2e3d283405c /doc | |
parent | 97af32a2c590938ddb9967776c65caab1ad9a2dd (diff) | |
download | SCons-e8892813997ba494550cfa003ce60807f559bc88.zip SCons-e8892813997ba494550cfa003ce60807f559bc88.tar.gz SCons-e8892813997ba494550cfa003ce60807f559bc88.tar.bz2 |
Add support for Perforce. (Charles Crain)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index f76bc01..e96f150 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -1535,6 +1535,37 @@ env.InstallAs(target = '../lib/libfoo.a ../lib/libbar.a', .EE .TP +.RI Perforce( ) +A factory function that +returns a Builder object +to be used to fetch source files +from the Perforce source code management system. +The returned Builder +is intended to be passed to the +.B SourceCode +function: +.ES +env.SourceCode('.', env.Perforce()) +.EE +.IP +Perforce uses a number of external +environment variables for its operation. +Consequently, this function adds the +following variables from the user's external environment +to the construction environment's +ENV dictionary: +P4CHARSET, +P4CLIENT, +P4LANGUAGE, +P4PASSWD, +P4PORT, +P4USER, +SYSTEMROOT, +USER, +and +USERNAME. + +.TP .RI Precious( target ", ...)" Marks each given .I target @@ -2282,6 +2313,16 @@ The prefix used for (static) object file names. .IP OBJSUFFIX The suffix used for (static) object file names. +.IP P4 +The Perforce executable. + +.IP P4COM +The command line used to +fetch source files from Perforce. + +.IP P4FLAGS +General options that are passed to Perforce. + .IP PCH The Microsoft Visual C++ precompiled header that will be used when compiling object files. This variable is ignored by tools other than Microsoft Visual C++. |