summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/port/swig/d
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
committersanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
commit058f98a63658dc1a2579826ba167fd61bed1e21f (patch)
treebcba07a1615a14d943f3af3f815a42f3be86b2f3 /src/mesh/assimp-master/port/swig/d
parent2f8028ac9e0812cb6f3cbb08f0f419e4e717bd22 (diff)
add assimp submodule
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