-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathSwiftAA.podspec
More file actions
51 lines (43 loc) · 1.7 KB
/
SwiftAA.podspec
File metadata and controls
51 lines (43 loc) · 1.7 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Pod::Spec.new do |s|
s.name = "SwiftAA"
s.version = "2.5.0"
s.summary = "The most comprehensive and accurate collection of astronomical algorithms in Swift."
s.description = <<-DESC
SwiftAA aims at providing the most comprehensive collection of accurate astronomical algorithms in Swift.
That is, based on the reference textbook "Astronomical Algorithms" by Jean Meeus, SwiftAA provides modern
APIs about all things astronomical. It is based on the C++ layer developed since many years by J.P. Naughter.
SwiftAA is built upon this C++ layer, on top of which a modern and expressive API is crafted. It is also
heavily covered by unit tests, in order to become the most reliable source of astronomical computations.
DESC
s.homepage = "https://onekiloparsec.dev"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Cédric Foellmi" => "[email protected]" }
# --- Deployment targets ---
s.ios.deployment_target = "13.0"
s.osx.deployment_target = "10.15"
s.watchos.deployment_target = "7.0"
# --- Source ---
s.source = {
:git => "https://github.com/onekiloparsec/SwiftAA.git",
:branch => "master"
}
# --- Language & framework ---
s.framework = "Foundation"
s.swift_versions = ["5.0"]
# --- Source files ---
s.source_files = [
"Sources/SwiftAA/**/*.swift",
"Sources/AABridge/**/*.{h,cpp}"
]
s.exclude_files = [
"Sources/SwiftAA/**/SwiftAA.playground/**/*",
"Sources/SwiftAA/**/Tests/**/*"
]
# --- Compiler & linking options ---
s.pod_target_xcconfig = {
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
"CLANG_CXX_LIBRARY" => "libc++",
"OTHER_LDFLAGS" => "-lc++"
}
s.library = "c++"
end