From fa7069f3dea0ca4c024cedb8a00312ce6f91f8c5 Mon Sep 17 00:00:00 2001 From: Gonzalo Exequiel Pedone Date: Sun, 21 Feb 2021 17:45:24 -0300 Subject: [PATCH] Try to force a Release build in Visual Studio 4. --- ports/ci/appveyor/build.bat | 4 ++++ ports/ci/appveyor/deploy.bat | 11 ----------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/ports/ci/appveyor/build.bat b/ports/ci/appveyor/build.bat index c1e8fdd..297f4a4 100755 --- a/ports/ci/appveyor/build.bat +++ b/ports/ci/appveyor/build.bat @@ -34,6 +34,7 @@ if "%CMAKE_GENERATOR%" == "MSYS Makefiles" ( -DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^ .. cmake --build . + cmake --build . --target install ) endlocal @@ -46,6 +47,7 @@ if "%CMAKE_GENERATOR:~0,13%" == "Visual Studio" ( -DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^ .. cmake --build . --config Release + cmake --build . --config Release --target install ) cmake --build . @@ -67,6 +69,7 @@ if "%CMAKE_GENERATOR%" == "MSYS Makefiles" ( -DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^ .. cmake --build . + cmake --build . --target install ) endlocal @@ -79,6 +82,7 @@ if "%CMAKE_GENERATOR:~0,13%" == "Visual Studio" ( -DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^ .. cmake --build . --config Release + cmake --build . --config Release --target install ) cd .. diff --git a/ports/ci/appveyor/deploy.bat b/ports/ci/appveyor/deploy.bat index a851469..4cc3201 100755 --- a/ports/ci/appveyor/deploy.bat +++ b/ports/ci/appveyor/deploy.bat @@ -27,15 +27,4 @@ git clone https://github.com/webcamoid/DeployTools.git cd ../.. set PYTHONPATH=%cd%\ports\deploy\DeployTools - -setlocal -if "%CMAKE_GENERATOR%" == "MSYS Makefiles" set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH% -cd build-x64 -cmake --build . --target install -cd .. -cd build-x86 -cmake --build . --target install -cd .. -endlocal - %PYTHON_PATH%\python.exe ports\deploy\deploy.py