Browse files

Got Swig to generate Python.

  • Loading branch information...
1 parent 22a0642 commit e1b0552aca88853bebe4c1f18681e978cc038db0 @j3k0 j3k0 committed Dec 5, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 sim/swigtorcs/
8 sim/swigtorcs/
@@ -0,0 +1,8 @@
+SWIG_SOURCES="swigtorcs.i swigcar.i swiggfparm.i swiggraphic.i swigmath.i swigraceman.i swigrobot.i swigrobottools.i swigsimu.i swigtrack.i"
+PYTHON_FLAGS="-I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386"
+#python-config --cflags
+swig -Wall -python -c++ -I../libsimulator/interfaces -I../libsimulator -I.. -outdir . swigtorcs.i
+g++ $PYTHON_FLAGS -I../libsimulator/interfaces -I../libsimulator -I.. -c swigtorcs_wrap.cxx

0 comments on commit e1b0552

Please sign in to comment.