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:
Eric Anderson 2015-03-02 16:58:27 -08:00
parent 967c27d288
commit 456216b364
1 changed files with 14 additions and 0 deletions

View File

@ -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
----------------------------