Uh oh!
There was an error while loading. Please reload this page.
forked from grpc/grpc
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProtobuf-C++.podspec
More file actions
Latest commit
42 lines (34 loc) · 1.58 KB
/
Copy pathProtobuf-C++.podspec
File metadata and controls
42 lines (34 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Pod::Spec.newdo |s|
s.name='Protobuf-C++'
s.version='3.12.2'
s.summary='Protocol Buffers v3 runtime library for C++.'
s.homepage='https://github.com/google/protobuf'
s.license='3-Clause BSD License'
s.authors={'The Protocol Buffers contributors'=>'protobuf@googlegroups.com'}
s.cocoapods_version='>= 1.0'
s.source={:git=>'https://github.com/google/protobuf.git',
:tag=>"v#{s.version}"}
s.source_files='src/google/protobuf/*.{h,cc,inc}',
'src/google/protobuf/stubs/*.{h,cc}',
'src/google/protobuf/io/*.{h,cc}',
'src/google/protobuf/util/*.{h,cc}',
'src/google/protobuf/util/internal/*.{h,cc}'
# Excluding all the tests in the directories above
s.exclude_files='src/google/**/*_test.{h,cc,inc}',
'src/google/**/*_unittest.{h,cc}',
'src/google/protobuf/test_util*.{h,cc}',
'src/google/protobuf/map_lite_test_util.{h,cc}',
'src/google/protobuf/map_test_util*.{h,cc,inc}'
s.header_mappings_dir='src'
s.ios.deployment_target='7.0'
s.osx.deployment_target='10.9'
s.tvos.deployment_target='9.0'
s.watchos.deployment_target='2.0'
s.pod_target_xcconfig={
# Do not let src/google/protobuf/stubs/time.h override system API
'USE_HEADERMAP'=>'NO',
'ALWAYS_SEARCH_USER_PATHS'=>'NO',
# Configure tool is not being used for Xcode. When building, assume pthread is supported.
'GCC_PREPROCESSOR_DEFINITIONS'=>'"$(inherited)" "HAVE_PTHREAD=1"',
}
end