Scilab command line options
Document the options. Make scilab -help consistent with the other target languages.
This commit is contained in:
parent
cf077090d3
commit
6e36208928
2 changed files with 57 additions and 9 deletions
|
|
@ -144,6 +144,57 @@ ans = 3
|
|||
--> Foo_get
|
||||
ans = 4 </pre></div>
|
||||
|
||||
|
||||
<H3><a name="Scilab_options"></a>Additional commandline options</H3>
|
||||
|
||||
<p>
|
||||
The following table list the additional commandline options available for the Scilab module. They can also be seen by using:
|
||||
</p>
|
||||
|
||||
<div class="code"><pre>
|
||||
swig -scilab -help
|
||||
</pre></div>
|
||||
|
||||
<table summary="Scilab specific options">
|
||||
|
||||
<tr>
|
||||
<th>Scilab specific options</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>-addcflag <opt></td>
|
||||
<td>Additional include options <opt> to include in build script</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>-addldflag <opt></td>
|
||||
<td>Additional link options <opt> to include in build script</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>-addsrc <files></td>
|
||||
<td>Additional space separated source <files> to include in build script</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>-vbl <level></td>
|
||||
<td>Sets the build verbose <level> (default 0)</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p>
|
||||
Some examples:
|
||||
</p>
|
||||
|
||||
<div class="shell"><pre>
|
||||
$ swig -scilab -addcflag -I/usr/includes example.i
|
||||
$ swig -scilab -addldflag -lm example.i
|
||||
$ swig -scilab -addsrc file1.cxx file2.cxx example.i
|
||||
</pre></div>
|
||||
</p>
|
||||
|
||||
|
||||
<H2><a name="Scilab_tour_of_basic_c"></a>37.3 A tour of basic C wrapping</H2>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue