Try to force a Release build in Visual Studio 2.
This commit is contained in:
parent
bed77b5896
commit
6304dfa4ec
1 changed files with 4 additions and 4 deletions
|
@ -42,10 +42,10 @@ if "%CMAKE_GENERATOR:~0,13%" == "Visual Studio" (
|
||||||
cmake ^
|
cmake ^
|
||||||
-G "%CMAKE_GENERATOR%" ^
|
-G "%CMAKE_GENERATOR%" ^
|
||||||
-A x64 ^
|
-A x64 ^
|
||||||
--config Release ^
|
-DCMAKE_BUILD_TYPE=Release ^
|
||||||
-DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^
|
-DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^
|
||||||
..
|
..
|
||||||
cmake --build .
|
cmake --config Release --build .
|
||||||
)
|
)
|
||||||
|
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
@ -75,10 +75,10 @@ if "%CMAKE_GENERATOR:~0,13%" == "Visual Studio" (
|
||||||
cmake ^
|
cmake ^
|
||||||
-G "%CMAKE_GENERATOR%" ^
|
-G "%CMAKE_GENERATOR%" ^
|
||||||
-A Win32 ^
|
-A Win32 ^
|
||||||
--config Release ^
|
-DCMAKE_BUILD_TYPE=Release ^
|
||||||
-DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^
|
-DCMAKE_INSTALL_PREFIX="%INSTALL_PREFIX%" ^
|
||||||
..
|
..
|
||||||
cmake --build .
|
cmake --config Release --build .
|
||||||
)
|
)
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Reference in a new issue