Fix regression introduced in 1.3.37 where the default output directory for target language specific files (in the absence of -outdir) was no longer the same as the generated c/c++ file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
22e4cb8e52
commit
90ab280f90
4 changed files with 25 additions and 5 deletions
|
|
@ -860,8 +860,8 @@ that split the task up into converting
|
|||
the C bit patterns (integer or bit set)
|
||||
into Modula-3 bit patterns (integer or bit set)
|
||||
and change the type as requested.
|
||||
See the corresponding
|
||||
<a href="../../Examples/modula3/enum/example.i">example</a>.
|
||||
See the corresponding example in the
|
||||
Examples/modula3/enum/example.i file.
|
||||
This is quite messy and not satisfying.
|
||||
So the best what you can currently do is
|
||||
to rewrite constant definitions manually.
|
||||
|
|
@ -877,8 +877,8 @@ that I'd like to automate.
|
|||
Declarations of C++ classes are mapped to <tt>OBJECT</tt> types
|
||||
while it is tried to retain the access hierarchy
|
||||
"public - protected - private" using partial revelation.
|
||||
Though the
|
||||
<a href="../../Examples/modula3/class/example.i">implementation</a>
|
||||
Though the example in
|
||||
Examples/modula3/class/example.i
|
||||
is not really useful, yet.
|
||||
</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -247,6 +247,17 @@ cppfiles/example_wrap.cpp
|
|||
pyfiles/example.py
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
If the <tt>-outcurrentdir</tt> option is used (without <tt>-o</tt>)
|
||||
then SWIG behaves like a typical C/C++
|
||||
compiler and the default output directory is then the current directory. Without
|
||||
this option the default output directory is the path to the input file.
|
||||
If <tt>-o</tt> and
|
||||
<tt>-outcurrentdir</tt> are used together, <tt>-outcurrentdir</tt> is effectively ignored
|
||||
as the output directory for the language files is the same directory as the
|
||||
generated C/C++ file if not overidden with <tt>-outdir</tt>.
|
||||
</p>
|
||||
|
||||
<H3><a name="SWIG_nn5"></a>5.1.3 Comments</H3>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue