Try to force a Release build in Visual Studio 4.

This commit is contained in:
Gonzalo Exequiel Pedone 2021-02-21 17:45:24 -03:00
parent 24c33ee00c
commit fa7069f3de
No known key found for this signature in database
GPG key ID: B8B09E63E9B85BAF
2 changed files with 4 additions and 11 deletions

View file

@ -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 ..

View file

@ -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