aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler/objectivec/objectivec_helpers.h
diff options
context:
space:
mode:
authorGravatar Thomas Van Lenten <thomasvl@google.com>2016-06-14 13:23:37 -0400
committerGravatar Thomas Van Lenten <thomasvl@google.com>2016-06-15 11:36:52 -0400
commita2a3399a6f84e29ab2dfc8c55739bbd495c314ce (patch)
tree9a72979f27d09aa268485a208bc9802b45157d56 /src/google/protobuf/compiler/objectivec/objectivec_helpers.h
parent71f4a9c6f35007609ef423ab643c05c1f88731ce (diff)
Add support for generation sources into a framework.
- Add a protoc objc option (generate_for_named_framework) to set the name of the framework all generated sources will be in. - Tweak some comments/naming to make it clear what is the Protobuf framework vs. the framework for generated code. - Update the objc README to document the new generation option to protoc. This is working towards https://github.com/google/protobuf/issues/1457.
Diffstat (limited to 'src/google/protobuf/compiler/objectivec/objectivec_helpers.h')
-rw-r--r--src/google/protobuf/compiler/objectivec/objectivec_helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/google/protobuf/compiler/objectivec/objectivec_helpers.h b/src/google/protobuf/compiler/objectivec/objectivec_helpers.h
index 5898d692..60536c8c 100644
--- a/src/google/protobuf/compiler/objectivec/objectivec_helpers.h
+++ b/src/google/protobuf/compiler/objectivec/objectivec_helpers.h
@@ -46,6 +46,7 @@ namespace objectivec {
struct Options {
Options();
string expected_prefixes_path;
+ string generate_for_named_framework;
};
// Escape C++ trigraphs by escaping question marks to "\?".