...
mkdir x64\Debug
nmake /f win32\Makefile.msc
copy zlib1D.* x64\Debug
nmake /f win32\Makefile.msc clean
The following files dependencies subdirectory of the cpp-msbuild project can be used to automate the build:
to set up the environment..\cpp-msbuild\dependencies\
config.bat..\cpp-msbuild\dependencies\zlib.bat
to create the modified makefiles (requires 'sed' on the path)X86 build (requires the appropriate VS command line):
Code Block ..\cpp-msbuild\dependencies\zlib-compile.bat .
X64 build (requires the appropriate VS command line):
Code Block ..\cpp-msbuild\dependencies\zlib-compile.bat x64