| set PATH=C:\Program Files (x86)\MSBuild\14.0\bin\;%PATH% |
| set generator32=Visual Studio 14 |
| set generator64=Visual Studio 14 Win64 |
| set configuration=Release |
| cmake -G "%generator32%" -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_SHARED_LIBS=OFF -Dprotobuf_UNICODE=ON ../cmake |
| msbuild protobuf.sln /p:Platform=%vcplatform32% || goto error |
| cmake -G "%generator64%" -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_SHARED_LIBS=OFF -Dprotobuf_UNICODE=ON ../cmake |
| msbuild protobuf.sln /p:Platform=%vcplatform64% || goto error |