From 28d5505edae76ed91708a895815eecf542c23060 Mon Sep 17 00:00:00 2001 From: Niklas Halle Date: Thu, 3 Dec 2020 17:37:01 +0100 Subject: inital, matleap api based on https://github.com/tomh4/matleap --- build.m | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 build.m (limited to 'build.m') diff --git a/build.m b/build.m new file mode 100644 index 0000000..f5ef2a1 --- /dev/null +++ b/build.m @@ -0,0 +1,22 @@ +% @file build.m +% @brief build the matleap mex module +% @author Jeff Perry +% @version 1.0 +% @date 2013-09-12 + +libdir_switch='-L/usr/lib/Leap/'; + +% create the mex command line +fn='matleap.cpp'; +fprintf('Compiling %s\n',fn); +cmd=['mex',... + ' -I/usr/include ',... + libdir_switch,... + ' -lLeap ',... + fn]; +fprintf('Evaluating "%s"\n',cmd) + +% run mex +eval(cmd) + +fprintf('Done\n') -- cgit v1.2.3-54-g00ecf