summaryrefslogtreecommitdiff
path: root/src/engine/SCons/Tool/m4.xml
blob: e411b3c433bcec279bf9d6133ad3676e3599c5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!--
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 The SCons Foundation

This file is processed by the bin/SConsDoc.py module.
See its __doc__ string for a discussion of the format.
-->
<tool name="m4">
<summary>
Sets construction variables for the &m4; macro processor.
</summary>
<sets>
M4
M4FLAGS
M4COM
</sets>
<uses>
M4COMSTR
</uses>
</tool>

<builder name="M4">
<summary>
Builds an output file from an M4 input file.
This uses a default &cv-link-M4FLAGS; value of
<option>-E</option>,
which considers all warnings to be fatal
and stops on the first warning
when using the GNU version of m4.
Example:

<example>
env.M4(target = 'foo.c', source = 'foo.c.m4')
</example>
</summary>
</builder>

<cvar name="M4">
<summary>
The M4 macro preprocessor.
</summary>
</cvar>

<cvar name="M4COM">
<summary>
The command line used to pass files through the M4 macro preprocessor.
</summary>
</cvar>

<cvar name="M4COMSTR">
<summary>
The string displayed when
a file is passed through the M4 macro preprocessor.
If this is not set, then &cv-link-M4COM; (the command line) is displayed.
</summary>
</cvar>

<cvar name="M4FLAGS">
<summary>
General options passed to the M4 macro preprocessor.
</summary>
</cvar>