[PHP7] Make default C++ extension .cxx
This is SWIG's default for every language except PHP, and now is a good time to make this change so that once we drop PHP5 support, we'll have the same default everywhere. It's easy to override the default with -cppext cxx to get the PHP5 behaviour.
This commit is contained in:
parent
c7f593e1b1
commit
75a00cd15e
6 changed files with 13 additions and 7 deletions
|
|
@ -145,7 +145,7 @@ can be obtained by typing <tt>swig -help</tt> or <tt>swig
|
|||
|
||||
-c++ Enable C++ parsing
|
||||
-cppext <em>ext</em> Change file extension of C++ generated files to <em>ext</em>
|
||||
(default is cxx, except for PHP which uses cpp)
|
||||
(default is cxx, except for PHP5 which uses cpp)
|
||||
-D<em>symbol</em> Define a preprocessor symbol
|
||||
-Fstandard Display error/warning messages in commonly used format
|
||||
-Fmicrosoft Display error/warning messages in Microsoft format
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue