scilab: rename build command line options
This commit is contained in:
parent
1a2136a053
commit
fd1e387a0e
2 changed files with 44 additions and 32 deletions
|
|
@ -256,33 +256,38 @@ The following table lists the Scilab specific command line options in addition t
|
|||
<table summary="Scilab specific options">
|
||||
|
||||
<tr>
|
||||
<td>-addcflags <cflags></td>
|
||||
<td>Add compiler flags <cflags></td>
|
||||
<td>-builder</td>
|
||||
<td>Generate the Scilab builder script (default)</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>-addldflags <ldflags></td>
|
||||
<td>Add linker flags <ldflags></td>
|
||||
<td>-buildercflags <cflags></td>
|
||||
<td>Add <cflags> to the builder compiler flags</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>-addsources <files></td>
|
||||
<td>Add comma separated source files <files></td>
|
||||
<td>-builderldflags <ldflags></td>
|
||||
<td>Add <ldlags> to the builder linker flags</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>-buildverbositylevel <level></td>
|
||||
<td>Set the build verbosity <level> (default 0)</td>
|
||||
<td>-buildersources <files></td>
|
||||
<td>Add the (comma separated) files <files> to the builder sources</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>-buildflags <file></td>
|
||||
<td>Use the Scilab script <file> to set build flags</td>
|
||||
<td>-builderverbositylevel <level></td>
|
||||
<td>Set the build verbosity level to <level> (default 0)</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>-builderflagscript <file></td>
|
||||
<td>Use the Scilab script <file> to configure the compiler and linker flags</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>-nobuilder</td>
|
||||
<td>Do not generate builder script</td>
|
||||
<td>Do not generate the Scilab builder script</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
|
@ -305,9 +310,9 @@ Some examples:
|
|||
</p>
|
||||
|
||||
<div class="shell"><pre>
|
||||
$ swig -scilab -addcflags -I/usr/includes example.i
|
||||
$ swig -scilab -addldflags "-lm example.i"
|
||||
$ swig -scilab -addsources file1.cxx,file2.cxx,example.i
|
||||
$ swig -scilab -buildercflags -I/usr/includes example.i
|
||||
$ swig -scilab -builderldflags "-lm example.i"
|
||||
$ swig -scilab -buildersources file1.cxx,file2.cxx,example.i
|
||||
</pre></div>
|
||||
</p>
|
||||
|
||||
|
|
@ -1859,9 +1864,9 @@ To generate the code and the builder script, the following options may be used w
|
|||
</p>
|
||||
|
||||
<ul>
|
||||
<li><tt><b>addsources</b></tt>: to add source files to build with</li>
|
||||
<li><tt><b>addcflags</b></tt>: to add compiler flags (to set header include paths....)</li>
|
||||
<li><tt><b>addldflags</b></tt>: to add linker flags (to set library paths and names...)</li>
|
||||
<li><tt><b>buildersources</b></tt>: to add sources to the sources to the builder sources</li>
|
||||
<li><tt><b>buildercflags</b></tt>: to add compiler flags to the builder (to add include paths, for example)</li>
|
||||
<li><tt><b>builderldflags</b></tt>: to add linker flags to the builder (to add library dependencies, for example)</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
|
|
@ -1869,7 +1874,7 @@ The SWIG command to use may be something like this:
|
|||
</p>
|
||||
|
||||
<div class="shell"><pre>
|
||||
swig -scilab -addcflags "-I[inc_path]..." -addsources [source],... -addldflags "-L[lib_path] -l[lib_name]" [module_name].i
|
||||
swig -scilab -buildercflags "-I[inc_path]..." -buildersources [source],... -builderldflags "-L[lib_path] -l[lib_name]" [module_name].i
|
||||
</pre></div>
|
||||
|
||||
<H3><a name="Scilab_module_builder"></a>37.5.4 Builder script</H3>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue