From 63229dbda639ae6e0d14e881ee95de20a7bd861b Mon Sep 17 00:00:00 2001 From: Eugene Shalygin Date: Tue, 24 Apr 2018 23:26:17 +0200 Subject: [PATCH] Properly select release build with CMake for AppVeyor --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 0aab46bb0..6bc63fb47 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -97,8 +97,8 @@ build_script: - mkdir build && cd build - if defined cmake ( set "PATH=c:\Python27-x64;%PATH%" && - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="/WX /wd4244 /wd4459" -Dpython-bindings=%python% -Dboost-python-module-name="python" -Dskip-python-runtime-test=true -DPython_ADDITIONAL_VERSIONS="2.7" -G "Visual Studio 14 2015 Win64" .. && - cmake --build . + cmake -DCMAKE_CXX_FLAGS="/WX /wd4244 /wd4459" -Dpython-bindings=%python% -Dboost-python-module-name="python" -Dskip-python-runtime-test=true -DPython_ADDITIONAL_VERSIONS="2.7" -G "Visual Studio 14 2015 Win64" .. && + cmake --build . --config Release ) test_script: