Skip to content

Commit

Permalink
Merge pull request #13 from ptomulik/lang-incdir
Browse files Browse the repository at this point in the history
updated info on lang-specific subdirs in Doc/Manual/Library.html
  • Loading branch information
wsfulton committed Jan 17, 2013
2 parents 78cd350 + bdd5dac commit 399e48c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Doc/Manual/Library.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,19 @@ <H2><a name="Library_nn2"></a>8.1 The %include directive and library search path
When searching for files, directories are searched in the following order:
</p>

<ul>
<ol>
<li>The current directory
<li>Directories specified with the <tt>-I</tt> command line option
<li>.<tt>/swig_lib</tt>
<li>SWIG library install location as reported by <tt>swig -swiglib</tt>, for example <tt>/usr/local/share/swig/1.3.30</tt>
<li>On Windows, a directory <tt>Lib</tt> relative to the location of <tt>swig.exe</tt> is also searched.
</ul>
</ol>

<p>
Within each directory, SWIG first looks for a subdirectory corresponding to a target language (e.g., <tt>python</tt>,
<tt>tcl</tt>, etc.). If found, SWIG will search the language specific directory first. This allows
for language-specific implementations of library files.
Within directories mentioned in points 3-5, SWIG first looks for a subdirectory
corresponding to a target language (e.g., <tt>python</tt>, <tt>tcl</tt>, etc.).
If found, SWIG will search the language specific directory first. This allows
for language-specific implementations of library files.
</p>

<p>
Expand Down

0 comments on commit 399e48c

Please sign in to comment.