From 058f98a63658dc1a2579826ba167fd61bed1e21f Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 4 Mar 2022 10:47:15 -0600 Subject: add assimp submodule --- src/mesh/assimp-master/port/swig/d/build.sh | 2 ++ src/mesh/assimp-master/port/swig/d/generate.sh | 4 ++++ 2 files changed, 6 insertions(+) create mode 100755 src/mesh/assimp-master/port/swig/d/build.sh create mode 100755 src/mesh/assimp-master/port/swig/d/generate.sh (limited to 'src/mesh/assimp-master/port/swig/d') 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 -- cgit v1.2.1