tweak swig script for mod_managed

This commit is contained in:
Jeff Lenk 2010-10-09 22:19:22 -05:00
parent a82d424fbf
commit 5b2664c0a9
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,10 @@
move freeswitch_wrap.cxx freeswitch_wrap.bak
\dev\swig20\swig.exe -I..\..\..\include -v -O -c++ -csharp -namespace FreeSWITCH.Native -dllimport mod_managed -DSWIG_CSHARP_NO_STRING_HELPER freeswitch.i
del swig.csx
move freeswitch_wrap.cxx freeswitch_wrap.2010.cxx
move freeswitch_wrap.bak freeswitch_wrap.cxx
@ECHO OFF
for %%X in (*.cs) do type %%X >> swig.csx
@ECHO ON
move swig.csx managed\swig.2010.cs
del *.cs

View File

@ -1,4 +1,4 @@
\dev\swig\swig.exe -I..\..\..\include -v -O -c++ -csharp -namespace FreeSWITCH.Native -dllimport mod_managed -DSWIG_CSHARP_NO_STRING_HELPER freeswitch.i
\dev\swig135\swig.exe -I..\..\..\include -v -O -c++ -csharp -namespace FreeSWITCH.Native -dllimport mod_managed -DSWIG_CSHARP_NO_STRING_HELPER freeswitch.i
del swig.csx
@ECHO OFF
for %%X in (*.cs) do type %%X >> swig.csx