-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathgeos.podspec
33 lines (33 loc) · 1.31 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
28
29
30
31
32
33
Pod::Spec.new do |s|
s.name = 'geos'
s.version = '9.0.0'
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.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '12.0'
s.watchos.deployment_target = '4.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',
'CLANG_WARN_DOCUMENTATION_COMMENTS' => 'NO',
}
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => '${PODS_TARGET_SRCROOT}/Sources/geos/include ${PODS_TARGET_SRCROOT}/Sources/geos/public ${PODS_TARGET_SRCROOT}/Sources/geos/src/deps',
'GCC_PREPROCESSOR_DEFINITIONS' => 'USE_UNSTABLE_GEOS_CPP_API NDEBUG',
'CLANG_WARN_DOCUMENTATION_COMMENTS' => 'NO',
'CLANG_WARN_UNREACHABLE_CODE' => 'NO',
'GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS' => 'NO',
}
end