Fixed some issues installing the Matlab toolbox on Windows

This commit is contained in:
Ray Speth 2012-04-11 20:25:59 +00:00
parent 57e1648d75
commit 802f5e9f06

View file

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