-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildwin.cmd
29 lines (23 loc) · 735 Bytes
/
buildwin.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
setlocal
@rem add git to system environmental variables
git submodule update --init --recursive
cd tools
nuget restore ../thirdparty/gRPC/vsprojects/grpc.sln
cd %~dp0
devenv thirdparty/gRPC/vsprojects/grpc.sln /Build "Debug|x64"
devenv thirdparty/gRPC/vsprojects/grpc.sln /Build "Release|x64"
cd thirdparty/gRPC/third_party/protobuf/cmake
mkdir win
cd win
cmake -G"Visual Studio 14 2015 Win64"
devenv protobuf.sln /Build "Debug|x64"
devenv protobuf.sln /Build "Release|x64"
cd %~dp0
devenv thirdparty/gRPC/vsprojects/grpc_protoc_plugins.sln /Build "Debug|x64"
devenv thirdparty/gRPC/vsprojects/grpc_protoc_plugins.sln /Build "Release|x64"
cd %~dp0
mkdir build
cd build
mkdir win
cd win
cmake ../.. -G"Visual Studio 14 2015 Win64"