Point to source and include dir after repo refactor
parent
ccd90cc811
commit
18a62066ab
|
@ -38,11 +38,11 @@ end
|
||||||
% TRY COMPILING MEX FILE
|
% TRY COMPILING MEX FILE
|
||||||
fprintf('Compiling mex function... ')
|
fprintf('Compiling mex function... ')
|
||||||
try
|
try
|
||||||
mex(fullfile('..','..','src','openGJK.c'),... % Source of openGJK
|
mex(fullfile('..','..','openGJK.c'),... % Source of openGJK
|
||||||
'-largeArrayDims', ... % Support large arrays
|
'-largeArrayDims', ... % Support large arrays
|
||||||
optflug, ... % Compiler flag for debug/optimisation
|
optflug, ... % Compiler flag for debug/optimisation
|
||||||
fullfile('-I..','..','include'),... % Folder to header files
|
fullfile('-I','..','..','include'),... % Folder to header files
|
||||||
'-outdir', pwd,... % Ouput directory for writing mex function
|
'-outdir', pwd, ... % Ouput directory for writing mex function
|
||||||
'-output', 'openGJK',... % Name of ouput mex file
|
'-output', 'openGJK',... % Name of ouput mex file
|
||||||
'-DMATLAB_MEX_BUILD',... % Define variable for mex function in source files
|
'-DMATLAB_MEX_BUILD',... % Define variable for mex function in source files
|
||||||
silflag ) % Silent/verbose flag
|
silflag ) % Silent/verbose flag
|
||||||
|
|
Loading…
Reference in New Issue