1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | Pod::Spec.new do |spec|
|
7 | spec.name = 'glog'
|
8 | spec.version = '0.3.5'
|
9 | spec.license = { :type => 'Google', :file => 'COPYING' }
|
10 | spec.homepage = 'https://github.com/google/glog'
|
11 | spec.summary = 'Google logging module'
|
12 | spec.authors = 'Google'
|
13 |
|
14 | spec.prepare_command = File.read("../scripts/ios-configure-glog.sh")
|
15 | spec.source = { :git => 'https://github.com/google/glog.git',
|
16 | :tag => "v#{spec.version}" }
|
17 | spec.module_name = 'glog'
|
18 | spec.header_dir = 'glog'
|
19 | spec.source_files = 'src/glog/*.h',
|
20 | 'src/demangle.cc',
|
21 | 'src/logging.cc',
|
22 | 'src/raw_logging.cc',
|
23 | 'src/signalhandler.cc',
|
24 | 'src/symbolize.cc',
|
25 | 'src/utilities.cc',
|
26 | 'src/vlog_is_on.cc'
|
27 |
|
28 | spec.preserve_paths = 'src/*.h',
|
29 | 'src/base/*.h'
|
30 | spec.exclude_files = "src/windows/**/*"
|
31 | spec.libraries = "stdc++"
|
32 | spec.compiler_flags = '-Wno-shorten-64-to-32'
|
33 | spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
34 | "HEADER_SEARCH_PATHS" => "$(PODS_TARGET_SRCROOT)/src" }
|
35 |
|
36 |
|
37 | spec.platforms = { :ios => "9.0", :tvos => "9.2" }
|
38 |
|
39 | end
|