2018-07-19 19:43:58 -07:00
|
|
|
# Copyright 2018 Google
|
|
|
|
|
#
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
|
#
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
#
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
|
|
# A Private podspec for GoogleBenchmark. Suitable only for use inside this source
|
|
|
|
|
# tree.
|
|
|
|
|
|
|
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'GoogleBenchmark'
|
2019-11-06 19:43:01 -08:00
|
|
|
s.version = '1.5.0'
|
2018-07-19 19:43:58 -07:00
|
|
|
s.summary = 'Google Benchmark'
|
|
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
|
|
|
|
Google's C++ benchmark framework.
|
|
|
|
|
DESC
|
|
|
|
|
|
|
|
|
|
s.homepage = 'https://github.com/google/benchmark/'
|
|
|
|
|
s.license = 'Apache-2.0'
|
|
|
|
|
s.authors = 'Google, Inc.'
|
|
|
|
|
|
|
|
|
|
s.source = {
|
|
|
|
|
:git => 'https://github.com/google/benchmark.git',
|
|
|
|
|
:tag => 'v' + s.version.to_s
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-24 13:22:47 -04:00
|
|
|
s.ios.deployment_target = '15.0'
|
2026-09-14 13:44:30 -04:00
|
|
|
s.osx.deployment_target = '11.0'
|
2025-06-24 13:22:47 -04:00
|
|
|
s.tvos.deployment_target = '15.0'
|
2019-03-26 10:56:36 -07:00
|
|
|
|
2018-07-19 19:43:58 -07:00
|
|
|
s.requires_arc = false
|
|
|
|
|
|
|
|
|
|
s.public_header_files = [
|
|
|
|
|
'include/benchmark/*.h'
|
|
|
|
|
]
|
|
|
|
|
s.header_mappings_dir = 'include'
|
|
|
|
|
|
|
|
|
|
s.preserve_paths = [
|
|
|
|
|
'src/*.h'
|
|
|
|
|
]
|
|
|
|
|
s.source_files = [
|
|
|
|
|
'src/*.cc',
|
|
|
|
|
'include/benchmark/*.h'
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
s.pod_target_xcconfig = {
|
|
|
|
|
'HEADER_SEARCH_PATHS' =>
|
|
|
|
|
'"${PODS_ROOT}/GoogleBenchmark/include" "${PODS_ROOT}/GoogleBenchmark/src"'
|
|
|
|
|
}
|
|
|
|
|
|
2019-11-06 19:43:01 -08:00
|
|
|
s.compiler_flags = '$(inherited) -Wno-deprecated-declarations'
|
|
|
|
|
|
2018-07-19 19:43:58 -07:00
|
|
|
s.library = 'c++'
|
|
|
|
|
end
|