upd: temporary changes to Matlab build script

parent ce87155c
......@@ -15,16 +15,17 @@ end
% Includes
vabase_include = '../../VABase/include';
vanet_include = '../../VANet/include';
vista_include = '../../Vista/VistaCoreLibs';
natnet_include = '../../ExternalLibs/NatNetSDK/NatNetSDK-2.7/include';
vista_include = 'C:\dev\ViSTA\VistaCoreLibs';
natnet_include = '../../../ExternalLibs/NatNetSDK/NatNetSDK-2.7/include';
% Lib dirs
dist_dir_name = 'build_win32-x64.vc12';
va_lib_dir = fullfile( '../../', dist_dir_name, 'lib' );
vabase_lib_dir = fullfile( '../../VABase', dist_dir_name, 'lib' );
vanet_lib_dir = fullfile( '../../VANet', dist_dir_name, 'lib' );
vista_lib_dir = fullfile( '../../Vista/VistaCoreLibs', dist_dir_name, 'lib' );
natnet_lib_dir = fullfile( '../../ExternalLibs/NatNetSDK/NatNetSDK-2.7', 'lib', 'x64' );
% addpath( vabase_include, vanet_lib_dir, vista_lib_dir, natnet_lib_dir )
vista_lib_dir = fullfile( 'C:\dev\ViSTA\VistaCoreLibs', dist_dir_name, 'lib' );
natnet_lib_dir = fullfile( '../../../ExternalLibs/NatNetSDK/NatNetSDK-2.7', 'lib', 'x64' );
% addpath( va_lib_dir, vabase_include, vanet_lib_dir, vista_lib_dir, natnet_lib_dir )
% Libs
vabase_lib = 'VABase.lib';
......@@ -66,10 +67,10 @@ end
% Note: We need to call mex via 'system' here, because we used the symbol
% 'mex' with '.' above and Matlab would complain when doing 'mex ...'
cmd = sprintf( 'mex -O %s -I%s -I%s -I%s -I%s -L%s -L%s -L%s -L%s -l%s -l%s -l%s -l%s %s -output %s', ...
cmd = sprintf( 'mex -O %s -I%s -I%s -I%s -I%s -L%s -L%s -L%s -L%s -L%s -l%s -l%s -l%s -l%s %s -output %s', ...
preprocessor_flags, ...
vabase_include, vanet_include, vista_include, natnet_include, ...
vabase_lib_dir, vanet_lib_dir, vista_lib_dir, natnet_lib_dir, ...
va_lib_dir, vabase_lib_dir, vanet_lib_dir, vista_lib_dir, natnet_lib_dir, ...
vabase_lib, vanet_lib, vista_lib, natnet_lib, ...
srcs, ...
outfile );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment