Fix up the docs to mention the WKTs generated files also.

Fixes #4277
This commit is contained in:
Thomas Van Lenten 2018-02-07 10:39:13 -05:00
parent 82e0231607
commit 07f023188e

View File

@ -33,19 +33,21 @@ Building
There are two ways to include the Runtime sources in your project:
Add `objectivec/\*.h` & `objectivec/GPBProtocolBuffers.m` to your project.
Add `objectivec/*.h`, `objectivec/google/protobuf/*.pbobjc.h`, and
`objectivec/GPBProtocolBuffers.m` to your project.
*or*
Add `objectivec/\*.h` & `objectivec/\*.m` except for
Add `objectivec/*.h`, `objectivec/google/protobuf/*.pbobjc.h`,
`objectivec/google/protobuf/*.pbobjc.m`, and `objectivec/*.m` except for
`objectivec/GPBProtocolBuffers.m` to your project.
If the target is using ARC, remember to turn off ARC (`-fno-objc-arc`) for the
`.m` files.
The files generated by `protoc` for the `*.proto` files (`\*.pbobjc.h` and
`\*.pbobjc.m`) are then also added to the target.
The files generated by `protoc` for the `*.proto` files (`*.pbobjc.h` and
`*.pbobjc.m`) are then also added to the target.
Usage
-----