From 802f5e9f061a48aa27b221d3adf9a39123932e29 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 11 Apr 2012 20:25:59 +0000 Subject: [PATCH] Fixed some issues installing the Matlab toolbox on Windows --- src/matlab/SConscript | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/matlab/SConscript b/src/matlab/SConscript index caaf46b8d..50727a006 100644 --- a/src/matlab/SConscript +++ b/src/matlab/SConscript @@ -82,8 +82,12 @@ install('$inst_matlab_dir', target) # 'cantera_demos.m' install('$inst_matlab_dir', '#samples/matlab/cantera_demos.m') -install(localenv.RecursiveInstall, '$inst_matlab_dir', '#interfaces/matlab/toolbox') +install(localenv.RecursiveInstall, '$inst_matlab_dir', + '#interfaces/matlab/toolbox', + exclude=['dll$', 'exp$', 'lib$', 'ilk$', 'manifest$']) install(localenv.RecursiveInstall, pjoin('$inst_sampledir', 'matlab'), '#samples/matlab') if os.name == 'nt': - install('$inst_matlab_dir', localenv['cantera_shlib']) + shlib = [f for f in localenv['cantera_shlib'] + if f.name.endswith('dll')] + install('$inst_matlab_dir', shlib)