makedeps.bat for VS 2019

This commit is contained in:
Michel Mastriani 2019-12-27 15:25:53 +00:00
parent 575357817c
commit efab029006

View File

@ -1,6 +1,9 @@
REM Make final output folder
mkdir Deps
REM uncomment if cl message is "Cannot open include file: 'stddef.h'"
REM C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
REM Move to parent of deps folders
cd ..
git clone https://github.com/madler/zlib.git
@ -62,6 +65,8 @@ if not exist ".\output" mkdir .\output
cd ..\OpenEXR
REM use -G "Visual Studio 16 2019" if building in Visual Studio 2019
cmake -G "Visual Studio 15 2017 Win64"^
-DCMAKE_PREFIX_PATH="%current%\output"^
-DCMAKE_INSTALL_PREFIX="%current%\output"^