-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathbuildwin.cmd
33 lines (26 loc) · 853 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
30
31
32
33
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" -D"BUILD_GRPC=TRUE"
cd %~dp0
cd thirdparty\Poco
buildwin.cmd 140 build static_md both x64 nosamples notests msbuild