Try to force a Release build in Visual Studio 4.
This commit is contained in:
parent
24c33ee00c
commit
fa7069f3de
2 changed files with 4 additions and 11 deletions
|
@ -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 ..
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue