60 lines
1.1 KiB
Matlab
60 lines
1.1 KiB
Matlab
% automatically generated by wrap
|
|
echo on
|
|
|
|
toolboxpath = mfilename('fullpath');
|
|
delims = find(toolboxpath == '/' | toolboxpath == '\');
|
|
toolboxpath = toolboxpath(1:(delims(end)-1));
|
|
clear delims
|
|
addpath(toolboxpath);
|
|
|
|
%% Point2
|
|
cd(toolboxpath)
|
|
mex -O5 new_Point2.cpp
|
|
|
|
cd @Point2
|
|
mex -O5 x.cpp
|
|
mex -O5 y.cpp
|
|
mex -O5 dim.cpp
|
|
mex -O5 returnChar.cpp
|
|
mex -O5 argChar.cpp
|
|
mex -O5 argUChar.cpp
|
|
mex -O5 vectorConfusion.cpp
|
|
|
|
%% Point3
|
|
cd(toolboxpath)
|
|
mex -O5 new_Point3.cpp
|
|
mex -O5 Point3_staticFunction.cpp
|
|
mex -O5 Point3_StaticFunctionRet.cpp
|
|
|
|
cd @Point3
|
|
mex -O5 norm.cpp
|
|
|
|
%% Test
|
|
cd(toolboxpath)
|
|
mex -O5 new_Test.cpp
|
|
|
|
cd @Test
|
|
mex -O5 return_pair.cpp
|
|
mex -O5 return_bool.cpp
|
|
mex -O5 return_size_t.cpp
|
|
mex -O5 return_int.cpp
|
|
mex -O5 return_double.cpp
|
|
mex -O5 return_string.cpp
|
|
mex -O5 return_vector1.cpp
|
|
mex -O5 return_matrix1.cpp
|
|
mex -O5 return_vector2.cpp
|
|
mex -O5 return_matrix2.cpp
|
|
mex -O5 arg_EigenConstRef.cpp
|
|
mex -O5 return_field.cpp
|
|
mex -O5 return_TestPtr.cpp
|
|
mex -O5 return_Test.cpp
|
|
mex -O5 return_Point2Ptr.cpp
|
|
mex -O5 create_ptrs.cpp
|
|
mex -O5 create_MixedPtrs.cpp
|
|
mex -O5 return_ptrs.cpp
|
|
mex -O5 print.cpp
|
|
|
|
cd(toolboxpath)
|
|
|
|
echo off
|