-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathexport.sh
26 lines (20 loc) · 839 Bytes
/
export.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#php
# swig -c++ -php5 -outcurrentdir -outdir export/php5 swig/sxtwl.i
# mv sxtwl_wrap.cxx export/php5/sxtwl_wrap.cxx
swig -c++ -php7 -outcurrentdir -outdir export/php7 swig/sxtwl.i
mv sxtwl_wrap.cxx export/php7/sxtwl_wrap.cxx
# lua
swig -c++ -lua -outcurrentdir -outdir export/lua swig/sxtwl.i
mv sxtwl_wrap.cxx export/lua/sxtwl_wrap.cxx
# java
swig -c++ -java -outcurrentdir -outdir export/java -package com.seantone.sxtwl swig/sxtwl.i
mv sxtwl_wrap.cxx export/java/sxtwl_wrap.cxx
# C#
swig -c++ -csharp -outcurrentdir -outdir export/C# swig/sxtwl.i
mv sxtwl_wrap.cxx export/C#/sxtwl_wrap.cxx
# go
swig -c++ -go -cgo -intgosize 32 -outdir export/golang swig/sxtwl.i
mv swig/sxtwl_wrap.cxx export/golang/sxtwl_wrap.cxx
# python
swig -c++ -python -outdir python swig/sxtwl.i
mv swig/sxtwl_wrap.cxx python/sxtwl_wrap.cxx