mirror of https://github.com/grpc/grpc-java.git
Add some details for building on Windows.
More will be necessary, as we don't describe how to build protobuf itself, but this should be a clear improvement.
This commit is contained in:
parent
967c27d288
commit
456216b364
14
README.md
14
README.md
|
@ -45,6 +45,20 @@ Now to build grpc-java itself:
|
|||
$ ./gradlew install
|
||||
```
|
||||
|
||||
When building on Windows and VC++, you need to specify project properties for
|
||||
Gradle to find protobuf:
|
||||
```
|
||||
.\gradlew install -Pprotobuf.include=C:\path\to\protobuf-3.0.0-alpha-2\src ^
|
||||
-Pprotobuf.libs=C:\path\to\protobuf-3.0.0-alpha-2\vsprojects\Release
|
||||
```
|
||||
|
||||
Since specifying those properties every build is bothersome, you can instead
|
||||
create %HOMEDRIVE%%HOMEPATH%\.gradle\gradle.properties with contents like:
|
||||
```
|
||||
protobuf.include=C:\\path\\to\\protobuf-3.0.0-alpha-2\\src
|
||||
protobuf.libs=C:\\path\\to\\protobuf-3.0.0-alpha-2\\vsprojects\\Release
|
||||
```
|
||||
|
||||
Navigating Around the Source
|
||||
----------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue