OLD | NEW |
1 { | 1 { |
2 "protocol": { | 2 "protocol": { |
3 "path": "./relative/path/protocol/sample_protocol.json", | 3 "path": "./relative/path/protocol/sample_protocol.json", |
4 "package": "include/generated/files/like/this", | 4 "package": "include/generated/files/like/this", |
5 "output": "place/generated/files/here", | 5 "output": "place/generated/files/here", |
6 "namespace": ["sample_project", "protocol"] | 6 "namespace": ["sample_project", "protocol"], |
| 7 "export_macro": "LIB_EXPORT", |
| 8 "export_header": "lib/lib_export.h" |
7 }, | 9 }, |
8 | 10 |
9 "exported": { | 11 "exported": { |
10 "package": "include/exported/files/like/this", | 12 "package": "include/exported/files/like/this", |
11 "output": "place/exported/files/here", | 13 "output": "place/exported/files/here", |
12 "string_header": "include/exported/string.h", | 14 "string_header": "include/exported/string.h", |
13 "string_in": "String", | 15 "string_in": "String", |
14 "string_out": "String", | 16 "string_out": "String", |
15 "to_string_out": "toString(%s)" | 17 "to_string_out": "toString(%s)", |
| 18 "export_macro": "LIB_EXPORT", |
| 19 "export_header": "lib/lib_export.h" |
16 }, | 20 }, |
17 | 21 |
18 "imported": { | 22 "imported": { |
19 "path": "../relative/path/imported_protocol.json", | 23 "path": "../relative/path/imported_protocol.json", |
20 "package": "include/imported/files/like/this", | 24 "package": "either/include/imported/files/from/here", |
| 25 "header": "or/include/them/all/together/like/this/imported_protocol.h", |
21 "to_imported_string": "toImportedString(%s)", | 26 "to_imported_string": "toImportedString(%s)", |
22 "from_imported_string": "fromImportedString(%s)", | 27 "from_imported_string": "fromImportedString(%s)", |
23 "namespace": ["imported_project", "protocol"] | 28 "namespace": ["imported_project", "protocol"] |
24 }, | 29 }, |
25 | 30 |
26 "lib": { | 31 "lib": { |
27 "package": "include/lib/files/like/this", | 32 "package": "include/lib/files/like/this", |
28 "output": "place/generated/lib/files/here", | 33 "output": "place/generated/lib/files/here", |
29 "string_header": "string/implementation.h", | 34 "string_header": "string/implementation.h", |
30 "platform_header": "platform/implementation.h" | 35 "platform_header": "platform/implementation.h", |
31 }, | 36 "export_macro": "LIB_EXPORT", |
32 | 37 "export_header": "lib/lib_export.h" |
33 "class_export": { | |
34 "macro": "LIB_EXPORT", | |
35 "header": "lib/lib_export.h" | |
36 } | 38 } |
37 } | 39 } |
OLD | NEW |