From cb3716ffb584fe0f593b6f1669a8efdba1305104 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 29 Mar 2016 02:16:55 +1000 Subject: Added my version of libg3d and friends. --- src/others/build_g3d.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 src/others/build_g3d.lua (limited to 'src/others/build_g3d.lua') diff --git a/src/others/build_g3d.lua b/src/others/build_g3d.lua new file mode 100755 index 0000000..4c0c875 --- /dev/null +++ b/src/others/build_g3d.lua @@ -0,0 +1,19 @@ +#!/usr/bin/env luajit + +local dir = ... + +if 'nil' == type(dir) then + local build, err = loadfile('../../build.lua') + if build then + setfenv(build, getfenv(2)) + build(2) + else + print("ERROR - " .. err) + end + dir = workingDir +end + +runCommand('libg3d', 'mimesh/libg3d-0.0.8', 'make clean') +runCommand(nil, 'mimesh/libg3d-0.0.8', './configure && make') +runCommand('g3dviewer', 'mimesh/g3dviewer-0.2.99.4', './configure && make') +runCommand(nil, 'mimesh/g3dviewer-0.2.99.4', 'make clean') -- cgit v1.1