Add note about '-node' command line flag for Node.js code generation.
This commit is contained in:
parent
462674ea11
commit
1ffacaab5b
1 changed files with 3 additions and 1 deletions
|
|
@ -33,7 +33,9 @@ Suppose that you defined a SWIG module such as the following:
|
|||
extern double Foo;
|
||||
|
||||
To build a Javascript module, run SWIG using the `-javascript` option
|
||||
and a desired target engine `-jsc` or `-v8`.
|
||||
and a desired target engine `-jsc`, `-v8`, or `-node`.
|
||||
The generator for `node` is essentially delegating to the `v8` generator and adds
|
||||
some necessary preprocessor definitions.
|
||||
|
||||
$ swig -javascript -jsc example.i
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue