summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/port/swig/d
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/assimp-master/port/swig/d')
-rwxr-xr-xsrc/mesh/assimp-master/port/swig/d/build.sh2
-rwxr-xr-xsrc/mesh/assimp-master/port/swig/d/generate.sh4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mesh/assimp-master/port/swig/d/build.sh b/src/mesh/assimp-master/port/swig/d/build.sh
new file mode 100755
index 0000000..0bf6bff
--- /dev/null
+++ b/src/mesh/assimp-master/port/swig/d/build.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+gcc -shared -fPIC -g3 -I../../../include/ -lassimp -olibassimp_wrap.so assimp_wrap.cxx
diff --git a/src/mesh/assimp-master/port/swig/d/generate.sh b/src/mesh/assimp-master/port/swig/d/generate.sh
new file mode 100755
index 0000000..7de66b1
--- /dev/null
+++ b/src/mesh/assimp-master/port/swig/d/generate.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+rm -rf assimp/
+mkdir assimp
+swig -c++ -d -outcurrentdir -I../../../include -splitproxy -package assimp $@ ../assimp.i