~ggalancs/ubuntuone-windows-installer/add_vs2010

« back to all changes in this revision

Viewing changes to tools/Nant/doc/help/tasks/lib.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.LibTask-->
 
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;lib&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;lib&gt;</td>
 
22
        <td class="NavBar-Cell" align="right">
 
23
                        v0.90</td>
 
24
      </tr>
 
25
    </table>
 
26
    <h1>&lt;lib&gt;</h1>
 
27
    <p> Run <code>lib.exe</code>, Microsoft's Library Manager. </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">output</td>
 
39
          <td style="text-align: center;">file</td>
 
40
          <td> The output file. </td>
 
41
          <td style="text-align: center;">True</td>
 
42
        </tr>
 
43
        <tr>
 
44
          <td valign="top">moduledefinition</td>
 
45
          <td style="text-align: center;">file</td>
 
46
          <td> The module definition file. </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">failonerror</td>
 
57
          <td style="text-align: center;">bool</td>
 
58
          <td> Determines if task failure stops the build, or is just reported. The default is <b>true</b>. </td>
 
59
          <td style="text-align: center;">False</td>
 
60
        </tr>
 
61
        <tr>
 
62
          <td valign="top">if</td>
 
63
          <td style="text-align: center;">bool</td>
 
64
          <td> If <b>true</b> then the task will be executed; otherwise, skipped. The default is <b>true</b>. </td>
 
65
          <td style="text-align: center;">False</td>
 
66
        </tr>
 
67
        <tr>
 
68
          <td valign="top">timeout</td>
 
69
          <td style="text-align: center;">int</td>
 
70
          <td> The maximum amount of time the application is allowed to execute, expressed in milliseconds. Defaults to no time-out. </td>
 
71
          <td style="text-align: center;">False</td>
 
72
        </tr>
 
73
        <tr>
 
74
          <td valign="top">unless</td>
 
75
          <td style="text-align: center;">bool</td>
 
76
          <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>
 
77
          <td style="text-align: center;">False</td>
 
78
        </tr>
 
79
        <tr>
 
80
          <td valign="top">verbose</td>
 
81
          <td style="text-align: center;">bool</td>
 
82
          <td> Determines whether the task should report detailed build log messages. The default is <b>false</b>. </td>
 
83
          <td style="text-align: center;">False</td>
 
84
        </tr>
 
85
      </table>
 
86
    </div>
 
87
    <h3>Framework-configurable parameters</h3>
 
88
    <div class="table">
 
89
      <table>
 
90
        <tr>
 
91
          <th>Attribute</th>
 
92
          <th style="text-align: center;">Type</th>
 
93
          <th>Description</th>
 
94
          <th style="text-align: center;">Required</th>
 
95
        </tr>
 
96
        <tr>
 
97
          <td valign="top">exename</td>
 
98
          <td style="text-align: center;">string</td>
 
99
          <td> The name of the executable that should be used to launch the external program. </td>
 
100
          <td style="text-align: center;">False</td>
 
101
        </tr>
 
102
        <tr>
 
103
          <td valign="top">managed</td>
 
104
          <td style="text-align: center;">
 
105
            <a href="../enums/NAnt.Core.Types.ManagedExecution.html">ManagedExecution</a>
 
106
          </td>
 
107
          <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>
 
108
          <td style="text-align: center;">False</td>
 
109
        </tr>
 
110
        <tr>
 
111
          <td valign="top">useruntimeengine</td>
 
112
          <td style="text-align: center;">bool</td>
 
113
          <td>
 
114
            <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>
 
115
          <td style="text-align: center;">False</td>
 
116
        </tr>
 
117
      </table>
 
118
    </div>
 
119
    <h3>Nested Elements:</h3>
 
120
    <!--Element-->
 
121
    <h4>
 
122
      <a id="sources">
 
123
      </a>
 
124
                    &lt;<a href="../types/fileset.html">sources</a>&gt;
 
125
                </h4>
 
126
    <div class="nested-element"> The list of files to combine into the output file. <p /></div>
 
127
    <h4>
 
128
      <a id="sources">
 
129
      </a>
 
130
                    &lt;/<a href="../types/fileset.html">sources</a>&gt;
 
131
                </h4>
 
132
    <!--Collection-->
 
133
    <h4>
 
134
      <a id="symbols">
 
135
      </a>
 
136
            &lt;symbols&gt;
 
137
        </h4>
 
138
    <div class="nested-element"> Symbols to add to the symbol table. <h5>&lt;symbol&gt;</h5><div class="nested-element"><p> Represents a symbol. </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" class="required">name</td><td style="text-align: center;">string</td><td> The name of the symbol. </td><td style="text-align: center;">True</td></tr><tr><td valign="top">if</td><td style="text-align: center;">bool</td><td> If <b>true</b> then the element will be processed; otherwise, skipped. The default is <b>true</b>. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">unless</td><td style="text-align: center;">bool</td><td> If <b>true</b> then the element will be skipped; otherwise, processed. The default is <b>false</b>. </td><td style="text-align: center;">False</td></tr></table></div></div><h5>&lt;/symbol&gt;</h5></div>
 
139
    <h4>&lt;/symbols&gt;</h4>
 
140
    <!--Collection-->
 
141
    <h4>
 
142
      <a id="ignorelibraries">
 
143
      </a>
 
144
            &lt;ignorelibraries&gt;
 
145
        </h4>
 
146
    <div class="nested-element"> Names of default libraries to ignore. <h5>&lt;library&gt;</h5><div class="nested-element"><p> Represents a library. </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" class="required">name</td><td style="text-align: center;">string</td><td> The name of the library. </td><td style="text-align: center;">True</td></tr><tr><td valign="top">if</td><td style="text-align: center;">bool</td><td> If <b>true</b> then the element will be processed; otherwise, skipped. The default is <b>true</b>. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">unless</td><td style="text-align: center;">bool</td><td> If <b>true</b> then the element will be skipped; otherwise, processed. The default is <b>false</b>. </td><td style="text-align: center;">False</td></tr></table></div></div><h5>&lt;/library&gt;</h5></div>
 
147
    <h4>&lt;/ignorelibraries&gt;</h4>
 
148
    <!--Element-->
 
149
    <h4>
 
150
      <a id="libdirs">
 
151
      </a>
 
152
                    &lt;<a href="../types/fileset.html">libdirs</a>&gt;
 
153
                </h4>
 
154
    <div class="nested-element"> The list of additional library directories to search. <p /></div>
 
155
    <h4>
 
156
      <a id="libdirs">
 
157
      </a>
 
158
                    &lt;/<a href="../types/fileset.html">libdirs</a>&gt;
 
159
                </h4>
 
160
    <!--Array-->
 
161
    <!--NestedElementArray=T:NAnt.Core.Types.Argument-->
 
162
    <h4>
 
163
      <a id="arg">
 
164
      </a>
 
165
                    &lt;arg&gt;
 
166
                </h4>
 
167
    <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>
 
168
                    &lt;<a href="../types/path.html">path</a>&gt;
 
169
                </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>
 
170
                    &lt;/<a href="../types/path.html">path</a>&gt;
 
171
                </h4><h3>Examples</h3><ul class="examples"><li><p> A single command-line argument containing a space character. </p><pre class="code">
 
172
&lt;arg value="-l -a" /&gt;
 
173
    </pre></li><li><p> Two separate command-line arguments. </p><pre class="code">
 
174
&lt;arg line="-l -a" /&gt;
 
175
    </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">
 
176
&lt;arg path="/dir;/dir2:\dir3" /&gt;
 
177
    </pre></li></ul></div>
 
178
    <h4>
 
179
      <a id="arg">
 
180
      </a>
 
181
                    &lt;/arg&gt;
 
182
                </h4>
 
183
    <h3>Examples</h3>
 
184
    <ul class="examples">
 
185
      <li>
 
186
        <p>Create a library.</p>
 
187
        <pre class="code">
 
188
            &lt;lib output="library.lib"&gt;
 
189
                &lt;sources&gt;
 
190
                    &lt;include name="library.obj" /&gt;
 
191
                &lt;/sources&gt;
 
192
            &lt;/lib&gt;
 
193
                </pre>
 
194
      </li>
 
195
    </ul>
 
196
    <h3>Requirements</h3>
 
197
    <div style="margin-left: 20px;">
 
198
      <b>Assembly:</b> NAnt.VisualCppTasks (0.90.3780.0)
 
199
            </div>
 
200
  </body>
 
201
</html>
 
 
b'\\ No newline at end of file'