scilab PATH on windows

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-10-28 15:14:05 -04:00
parent fb1e624691
commit e2ed2d39b1

View File

@@ -591,7 +591,7 @@ def swig_scilab_builder(platform, gitMode = 'incremental'):
command = ["set", '"PATH=swig-scilab-bin/bin:${PATH}"', "&&", "cmake", "..", "-DCOOLPROP_SCILAB_SWIG_MODULE=ON","-DSWIG_DIR=swig-scilab-bin"]
else:
command = ["PATH=swig-scilab-bin/bin:${PATH}","cmake", "..", "-DCOOLPROP_SCILAB_SWIG_MODULE=ON","-DSWIG_DIR=swig-scilab-bin"]
factory.addStep(ShellCommand(command=' '.join(["PATH=swig-scilab-bin/bin:${PATH}","cmake", "..", "-DCOOLPROP_SCILAB_SWIG_MODULE=ON","-DSWIG_DIR=swig-scilab-bin"]),
factory.addStep(ShellCommand(command=' '.join(command),
workdir= "build/build",
haltOnFailure = True))
if platform == 'windows':