tools/build_vcpkg_basic.bat
changeset 15336 90f9a0eac3ae
parent 14289 23eacb6f1c20
--- a/tools/build_vcpkg_basic.bat	Wed Aug 14 22:27:01 2019 +0300
+++ b/tools/build_vcpkg_basic.bat	Wed Aug 14 23:06:11 2019 +0300
@@ -1,6 +1,6 @@
 @echo off
 ::edit these variables if necessary
-set BUILD_TYPE="Debug"
+set BUILD_TYPE="Release"
 ::set if vcpkg is not on path
 set VCPKG_PATH=%VCPKG_ROOT%
 ::set if CMake is not on path
@@ -17,7 +17,7 @@
 echo Running cmake...
 set ERRORLEVEL=
 
-cmake . -DCMAKE_TOOLCHAIN_FILE="%VCPKG_PATH%\scripts\buildsystems\vcpkg.cmake" -G"NMake Makefiles" -DNOPNG=1 -DNOSERVER=1 -DNOVIDEOREC=1 -DCMAKE_BUILD_TYPE="%BUILD_TYPE%" -DSDL2_BUILDING_LIBRARY=1
+cmake . -DCMAKE_TOOLCHAIN_FILE="%VCPKG_PATH%\scripts\buildsystems\vcpkg.cmake" -G"NMake Makefiles"  -DNOSERVER=1 -DNOVIDEOREC=1 -DCMAKE_BUILD_TYPE="%BUILD_TYPE%" -DSDL2_BUILDING_LIBRARY=1
 
 if %ERRORLEVEL% NEQ 0 goto exitpoint
 
@@ -32,6 +32,8 @@
 
 echo Build completed successfully
 
+nmake install
+
 :exitpoint
 cd %CURRDIR%
 pause