~mandel/ubuntuone-windows-installer/fix_null_pointer_start

« back to all changes in this revision

Viewing changes to tools/Nant/doc/help/tasks/mc.html

  • Committer: Manuel de la Pena
  • Date: 2010-07-08 13:22:59 UTC
  • Revision ID: mandel@themacaque.com-20100708132259-y1jgyuyqfe9stt8u
Updated build script to run tests and added all the required tools so far.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
  <!-- Documenting T:NAnt.VisualCpp.Tasks.McTask-->
 
4
  <head>
 
5
    <meta http-equiv="Content-Language" content="en-ca" />
 
6
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
7
    <link rel="stylesheet" type="text/css" href="../style.css" />
 
8
    <title>&lt;mc&gt; Task</title>
 
9
  </head>
 
10
  <body>
 
11
    <table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
 
12
      <tr>
 
13
        <td class="NavBar-Cell">
 
14
          <a href="http://nant.sourceforge.net">
 
15
            <b>NAnt</b>
 
16
          </a>
 
17
          <img alt="-&gt;" src="../images/arrow.gif" />
 
18
          <a href="../index.html">Help</a>
 
19
          <img alt="-&gt;" src="../images/arrow.gif" />
 
20
          <a href="../tasks/index.html">Task Reference</a>
 
21
          <img alt="-&gt;" src="../images/arrow.gif" /> &lt;mc&gt;</td>
 
22
        <td class="NavBar-Cell" align="right">
 
23
                        v0.90</td>
 
24
      </tr>
 
25
    </table>
 
26
    <h1>&lt;mc&gt;</h1>
 
27
    <p> Compiles messages using mc.exe, Microsoft's Win32 message compiler. </p>
 
28
    <h3>Parameters</h3>
 
29
    <div class="table">
 
30
      <table>
 
31
        <tr>
 
32
          <th>Attribute</th>
 
33
          <th style="text-align: center;">Type</th>
 
34
          <th>Description</th>
 
35
          <th style="text-align: center;">Required</th>
 
36
        </tr>
 
37
        <tr>
 
38
          <td valign="top" class="required">mcfile</td>
 
39
          <td style="text-align: center;">file</td>
 
40
          <td> Input filename. </td>
 
41
          <td style="text-align: center;">True</td>
 
42
        </tr>
 
43
        <tr>
 
44
          <td valign="top">headerpath</td>
 
45
          <td style="text-align: center;">directory</td>
 
46
          <td> Path to store header file. The default is the project base directory. </td>
 
47
          <td style="text-align: center;">False</td>
 
48
        </tr>
 
49
        <tr>
 
50
          <td valign="top">options</td>
 
51
          <td style="text-align: center;">string</td>
 
52
          <td> Options to pass to the compiler. </td>
 
53
          <td style="text-align: center;">False</td>
 
54
        </tr>
 
55
        <tr>
 
56
          <td valign="top">rcpath</td>
 
57
          <td style="text-align: center;">directory</td>
 
58
          <td> Path to store RC file. The default is the project base directory. </td>
 
59
          <td style="text-align: center;">False</td>
 
60
        </tr>
 
61
        <tr>
 
62
          <td valign="top">failonerror</td>
 
63
          <td style="text-align: center;">bool</td>
 
64
          <td> Determines if task failure stops the build, or is just reported. The default is <b>true</b>. </td>
 
65
          <td style="text-align: center;">False</td>
 
66
        </tr>
 
67
        <tr>
 
68
          <td valign="top">if</td>
 
69
          <td style="text-align: center;">bool</td>
 
70
          <td> If <b>true</b> then the task will be executed; otherwise, skipped. The default is <b>true</b>. </td>
 
71
          <td style="text-align: center;">False</td>
 
72
        </tr>
 
73
        <tr>
 
74
          <td valign="top">timeout</td>
 
75
          <td style="text-align: center;">int</td>
 
76
          <td> The maximum amount of time the application is allowed to execute, expressed in milliseconds. Defaults to no time-out. </td>
 
77
          <td style="text-align: center;">False</td>
 
78
        </tr>
 
79
        <tr>
 
80
          <td valign="top">unless</td>
 
81
          <td style="text-align: center;">bool</td>
 
82
          <td> Opposite of <code>if</code>. If <b>false</b> then the task will be executed; otherwise, skipped. The default is <b>false</b>. </td>
 
83
          <td style="text-align: center;">False</td>
 
84
        </tr>
 
85
        <tr>
 
86
          <td valign="top">verbose</td>
 
87
          <td style="text-align: center;">bool</td>
 
88
          <td> Determines whether the task should report detailed build log messages. The default is <b>false</b>. </td>
 
89
          <td style="text-align: center;">False</td>
 
90
        </tr>
 
91
      </table>
 
92
    </div>
 
93
    <h3>Framework-configurable parameters</h3>
 
94
    <div class="table">
 
95
      <table>
 
96
        <tr>
 
97
          <th>Attribute</th>
 
98
          <th style="text-align: center;">Type</th>
 
99
          <th>Description</th>
 
100
          <th style="text-align: center;">Required</th>
 
101
        </tr>
 
102
        <tr>
 
103
          <td valign="top">exename</td>
 
104
          <td style="text-align: center;">string</td>
 
105
          <td> The name of the executable that should be used to launch the external program. </td>
 
106
          <td style="text-align: center;">False</td>
 
107
        </tr>
 
108
        <tr>
 
109
          <td valign="top">managed</td>
 
110
          <td style="text-align: center;">
 
111
            <a href="../enums/NAnt.Core.Types.ManagedExecution.html">ManagedExecution</a>
 
112
          </td>
 
113
          <td> Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. </td>
 
114
          <td style="text-align: center;">False</td>
 
115
        </tr>
 
116
        <tr>
 
117
          <td valign="top">useruntimeengine</td>
 
118
          <td style="text-align: center;">bool</td>
 
119
          <td>
 
120
            <i>Deprecated.</i>  Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is <b>false</b>. </td>
 
121
          <td style="text-align: center;">False</td>
 
122
        </tr>
 
123
      </table>
 
124
    </div>
 
125
    <h3>Nested Elements:</h3>
 
126
    <!--Array-->
 
127
    <!--NestedElementArray=T:NAnt.Core.Types.Argument-->
 
128
    <h4>
 
129
      <a id="arg">
 
130
      </a>
 
131
                    &lt;arg&gt;
 
132
                </h4>
 
133
    <div class="nested-element"> The command-line arguments for the external program. <p> Represents a command-line argument. </p><p> When passed to an external application, the argument will be quoted when appropriate. This does not apply to the <code>line</code> parameter, which is always passed as is. </p><h3>Parameters</h3><div class="table"><table><tr><th>Attribute</th><th style="text-align: center;">Type</th><th>Description</th><th style="text-align: center;">Required</th></tr><tr><td valign="top">dir</td><td style="text-align: center;">directory</td><td> The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">file</td><td style="text-align: center;">file</td><td> The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">if</td><td style="text-align: center;">bool</td><td> Indicates if the argument should be passed to the external program. If <b>true</b> then the argument will be passed; otherwise, skipped. The default is <b>true</b>. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">line</td><td style="text-align: center;">string</td><td> List of command-line arguments; will be passed to the executable as is. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">path</td><td style="text-align: center;">&lt;path&gt;</td><td> The value for a PATH-like command-line argument; you can use <code>:</code> or <code>;</code> as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">unless</td><td style="text-align: center;">bool</td><td> Indicates if the argument should not be passed to the external program. If <b>false</b> then the argument will be passed; otherwise, skipped. The default is <b>false</b>. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">value</td><td style="text-align: center;">string</td><td> A single command-line argument; can contain space characters. </td><td style="text-align: center;">False</td></tr></table></div><h3>Nested Elements:</h3><!--Element--><h4><a id="path"></a>
 
134
                    &lt;<a href="../types/path.html">path</a>&gt;
 
135
                </h4><div class="nested-element"> Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used. <p /></div><h4><a id="path"></a>
 
136
                    &lt;/<a href="../types/path.html">path</a>&gt;
 
137
                </h4><h3>Examples</h3><ul class="examples"><li><p> A single command-line argument containing a space character. </p><pre class="code">
 
138
&lt;arg value="-l -a" /&gt;
 
139
    </pre></li><li><p> Two separate command-line arguments. </p><pre class="code">
 
140
&lt;arg line="-l -a" /&gt;
 
141
    </pre></li><li><p> A single command-line argument with the value <code>\dir;\dir2;\dir3</code> on DOS-based systems and <code>/dir:/dir2:/dir3</code> on Unix-like systems. </p><pre class="code">
 
142
&lt;arg path="/dir;/dir2:\dir3" /&gt;
 
143
    </pre></li></ul></div>
 
144
    <h4>
 
145
      <a id="arg">
 
146
      </a>
 
147
                    &lt;/arg&gt;
 
148
                </h4>
 
149
    <h3>Examples</h3>
 
150
    <ul class="examples">
 
151
      <li>
 
152
        <p> Compile <code>text.mc</code> using the default options. </p>
 
153
        <pre class="code">
 
154
            &lt;mc mcfile="text.mc"/&gt;
 
155
                </pre>
 
156
        <p> Compile <code>text.mc</code>, passing a path to store the header, the rc file and some additonal options. </p>
 
157
        <pre class="code">
 
158
            &lt;mc mcfile="text.mc" headerpath=".\build" rcpath=".\build" options="-v -c -u"/&gt;
 
159
                </pre>
 
160
      </li>
 
161
    </ul>
 
162
    <h3>Requirements</h3>
 
163
    <div style="margin-left: 20px;">
 
164
      <b>Assembly:</b> NAnt.VisualCppTasks (0.90.3780.0)
 
165
            </div>
 
166
  </body>
 
167
</html>
 
 
b'\\ No newline at end of file'