GoogleBenchmark.podspec 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # Copyright 2018 Google
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. # A Private podspec for GoogleBenchmark. Suitable only for use inside this source
  15. # tree.
  16. Pod::Spec.new do |s|
  17. s.name = 'GoogleBenchmark'
  18. s.version = '1.4.0'
  19. s.summary = 'Google Benchmark'
  20. s.description = <<-DESC
  21. Google's C++ benchmark framework.
  22. DESC
  23. s.homepage = 'https://github.com/google/benchmark/'
  24. s.license = 'Apache-2.0'
  25. s.authors = 'Google, Inc.'
  26. s.source = {
  27. :git => 'https://github.com/google/benchmark.git',
  28. :tag => 'v' + s.version.to_s
  29. }
  30. s.ios.deployment_target = '8.0'
  31. s.osx.deployment_target = '10.11'
  32. s.tvos.deployment_target = '10.0'
  33. s.requires_arc = false
  34. s.public_header_files = [
  35. 'include/benchmark/*.h'
  36. ]
  37. s.header_mappings_dir = 'include'
  38. s.preserve_paths = [
  39. 'src/*.h'
  40. ]
  41. s.source_files = [
  42. 'src/*.cc',
  43. 'include/benchmark/*.h'
  44. ]
  45. s.pod_target_xcconfig = {
  46. 'HEADER_SEARCH_PATHS' =>
  47. '"${PODS_ROOT}/GoogleBenchmark/include" "${PODS_ROOT}/GoogleBenchmark/src"'
  48. }
  49. s.library = 'c++'
  50. end