Point to source and include dir after repo refactor

fixes-turtlebasket
Mattia Montanari 2022-10-18 22:23:32 +02:00 committed by GitHub
parent ccd90cc811
commit 18a62066ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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