Use -C Release for windows

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-11-20 22:15:51 -05:00
parent e0a4fe4171
commit f917b33e87

View File

@@ -933,9 +933,10 @@ c['builders'].append(
for platform in ['windows', 'linux', 'OSX']:
cmake_args = ['-DBUILD_TESTING=ON']
ctest_args = []
if platform == 'windows':
cmake_args += ['-G', '"Visual Studio 10 2010 Win64"']
ctest_args += ['--config','Release']
ctest_args = ['-C','Release']
c['builders'].append(BuilderConfig(name="MATLAB-"+platform, slavenames=[platform+"-slave"], factory = swig_matlab_builder(platform, cmake_args = cmake_args, ctest_args = ctest_args)))
if platform == 'linux':
c['builders'].append(BuilderConfig(name="Scilab-"+platform, slavenames=[platform+"-slave"], factory = swig_scilab_builder(platform)))
@@ -944,7 +945,7 @@ c['builders'].append(BuilderConfig(name="MATLAB-windows32",
factory = swig_matlab_builder('windows',
cmake_env={'MATLAB_ROOT':'c:\Program Files (x86)\MATLAB\R2014a'},
cmake_args = ['-G', '"Visual Studio 10 2010"'],
ctest_args = ['--config','Release'])
ctest_args = ['-C','Release'])
))
cmake_env={
'MATLAB_ROOT':'c:\Program Files\MatLab R2014a',