-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathgeos.podspec
27 lines (27 loc) · 1 KB
/
geos.podspec
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
Pod::Spec.new do |s|
s.name = 'geos'
s.version = '6.0.2'
s.summary = 'GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).'
s.homepage = 'http://trac.osgeo.org/geos'
s.license = {
type: 'GNU LGPL 2.1',
file: 'Sources/COPYING'
}
s.authors = 'Sandro Santilli', 'Martin Davis', 'Howard Butler', 'Regina Obe', 'Dale Lutz', 'Paul Ramsey', 'Dan Baston'
s.source = {
git: 'https://github.com/GEOSwift/geos.git',
tag: s.version
}
s.platforms = { ios: '9.0', osx: '10.9', tvos: '9.0' }
s.preserve_paths = 'Sources/geos/**/*'
s.source_files = 'Sources/geos/{src,capi,public}/**/*'
s.public_header_files = 'Sources/geos/public/**/*'
s.user_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => 'GEOS_USE_ONLY_R_API'
}
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/geos/Sources/geos/include ${PODS_ROOT}/geos/Sources/geos/public',
'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
'GCC_WARN_INHIBIT_ALL_WARNINGS' => 'YES',
}
end