Fix SWIG_LIB for swig+matlab on windows

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-10-28 17:21:54 -04:00
parent 5fbb82d3ba
commit 4f0842ba36

View File

@@ -559,9 +559,9 @@ def swig_matlab_builder(platform, gitMode = 'incremental'):
workdir= "build/build",
haltOnFailure = True))
if platform == 'windows':
command = ["set", '"SWIG_LIB=swig-scilab-bin\\share\\swig\\3.0.3"', "&&", "cmake", "--build", ".", "--target", "install"]
command = ["set", '"SWIG_LIB=swig-matlab-bin\\share\\swig\\3.0.3"', "&&", "cmake", "--build", ".", "--target", "install"]
else:
command = ["SWIG_LIB=swig-scilab-bin/share/swig/3.0.3", "cmake", "--build", ".", "--target", "install"]
command = ["SWIG_LIB=swig-matlab-bin/share/swig/3.0.3", "cmake", "--build", ".", "--target", "install"]
factory.addStep(ShellCommand(command=' '.join(command),
workdir= "build/build",
haltOnFailure = True))