summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-10-21 23:40:24 (GMT)
committerSteven Knight <knight@baldmt.com>2002-10-21 23:40:24 (GMT)
commitf279a9601953dc193f028ab33a8b58ccc9baf937 (patch)
tree55fd298c300bc29b0337b10eeeb30f3f03b3f767 /doc
parent276f24218f1e730fed31fa9f9072cdd464adb7b3 (diff)
downloadSCons-f279a9601953dc193f028ab33a8b58ccc9baf937.zip
SCons-f279a9601953dc193f028ab33a8b58ccc9baf937.tar.gz
SCons-f279a9601953dc193f028ab33a8b58ccc9baf937.tar.bz2
Add MSVC .res builder. (Anthony Roach)
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.122
1 files changed, 20 insertions, 2 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 6b3aabd..6307f34 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -977,6 +977,17 @@ Example:
env.Program(target = 'foo', source = ['foo.o', 'bar.c', 'baz.f'])
.EE
+.IP RES
+Builds a Microsoft Visual C++ resource file. This builder is only
+provided when Microsoft Visual C++ is being used as the compiler. The
+.I .res
+suffix is added to the target name if no other suffix is given. The source
+file is scanned for implicit dependencies as though it were a C file. Example:
+
+.ES
+env.RES('resource.rc')
+.EE
+
.IP StaticLibrary
Builds a static library given one or more object files
or C, C++ or Fortran source files.
@@ -1884,8 +1895,6 @@ the empty string if the "#pragma hrdstop" construct is being used:
env['PCHSTOP'] = 'StdAfx.h'
.EE
-
-
.IP PDB
The Microsoft Visual C++ PDB file that will store debugging information for
object files, shared libraries, and programs. This variable is ignored by
@@ -1929,6 +1938,15 @@ The archive indexer.
.IP RANLIBFLAGS
General options passed to the archive indexer.
+.IP RC
+The resource compiler used by the RES builder.
+
+.IP RCCOM
+The command line used by the RES builder.
+
+.IP RCFLAGS
+The flags passed to the resource compiler by the RES builder.
+
.IP RDirs
A function that converts a file name into a list of Dir instances by
searching the repositories.