...
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:
Config.bat
to set up the environmentzlib.bat
to create the modified makefiles (requires 'sed' on the path)zlib-compile.bat
[ win32| x64 ] to compile (requires the appropriate VS command line)