summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-06-09 15:26:25 (GMT)
committerSteven Knight <knight@baldmt.com>2003-06-09 15:26:25 (GMT)
commite2386c6ee94cca68e90eb9faee33b7f4d425b39f (patch)
treeba69c631356b5cc6ebc2e9dbd8bdd8b4b66de038 /doc
parent8b30616143d7c08df410885ccf7cff1cf599a659 (diff)
downloadSCons-e2386c6ee94cca68e90eb9faee33b7f4d425b39f.zip
SCons-e2386c6ee94cca68e90eb9faee33b7f4d425b39f.tar.gz
SCons-e2386c6ee94cca68e90eb9faee33b7f4d425b39f.tar.bz2
Add an M4 builder. (Timothee Besset)
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.123
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 054bbd1..e52903e 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -881,6 +881,7 @@ javah
latex
lex
linkloc
+m4
masm
midl
mingw
@@ -1329,6 +1330,19 @@ env.CXXFile(target = 'foo.cc', source = 'foo.ll')
env.CXXFile(target = 'bar', source = 'bar.yy')
.EE
+.IP M4
+Builds an output file from an M4 input file.
+This uses a default $M4FLAGS value of
+.BR -E ,
+which considers all warnings to be fatal
+and stops on the first warning
+when using the GNU version of m4.
+Example:
+
+.ES
+env.M4(target = 'foo.c', source = 'foo.c.m4')
+.EE
+
.IP Jar
Builds a Java archive (.jar) file
from a source tree of .class files.
@@ -2690,6 +2704,15 @@ General options passed to the linker.
.IP LINKCOM
The command line used to link object files into an executable.
+.IP M4
+The M4 macro preprocessor.
+
+.IP M4FLAGS
+General options passed to the M4 macro preprocessor.
+
+.IP M4COM
+The command line used to pass files through the macro preprocessor.
+
.IP MSVSPROJECTCOM
The action used to generate Microsoft Visual Studio
project and solution files.