Try to force a Release build in Visual Studio 2.

This commit is contained in:
Gonzalo Exequiel Pedone 2021-02-21 16:47:22 -03:00
parent bed77b5896
commit 6304dfa4ec
No known key found for this signature in database
GPG key ID: B8B09E63E9B85BAF

View file

@ -42,10 +42,10 @@ if "%CMAKE_GENERATOR:~0,13%" == "Visual Studio" (
cmake ^
-G "%CMAKE_GENERATOR%" ^
-A x64 ^
--config Release ^
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^
..
cmake --build .
cmake --config Release --build .
)
cmake --build .
@ -75,10 +75,10 @@ if "%CMAKE_GENERATOR:~0,13%" == "Visual Studio" (
cmake ^
-G "%CMAKE_GENERATOR%" ^
-A Win32 ^
--config Release ^
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^
..
cmake --build .
cmake --config Release --build .
)
cd ..