forked from stephencelis/SQLite.swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSQLite.swift.podspec
48 lines (36 loc) · 1.18 KB
/
SQLite.swift.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Pod::Spec.new do |s|
s.name = 'SQLite.swift'
s.module_name = 'SQLite'
s.version = '0.1.0.pre'
s.summary = 'A type-safe, Swift-language layer over SQLite3.'
s.description = <<-DESC
SQLite.swift provides compile-time confidence in SQL statement syntax and
intent.
DESC
s.homepage = 'https://github.com/stephencelis/SQLite.swift'
s.license = { type: 'MIT', file: 'LICENSE.txt' }
s.author = { 'Stephen Celis' => '[email protected]' }
s.social_media_url = 'https://twitter.com/stephencelis'
s.source = {
git: 'https://github.com/stephencelis/SQLite.swift.git',
tag: s.version
}
s.module_map = 'SQLite/module.modulemap'
s.default_subspec = 'Library'
s.subspec 'Core' do |ss|
ss.source_files = 'SQLite/**/*.{swift,c,h,m}'
ss.private_header_files = 'SQLite/fts3_tokenizer.h'
end
s.subspec 'Library' do |ss|
ss.dependency 'SQLite.swift/Core'
ss.library = 'sqlite3'
end
s.subspec 'Cipher' do |ss|
ss.dependency 'SQLCipher'
ss.dependency 'SQLite.swift/Core'
ss.source_files = 'SQLiteCipher/**/*.{swift,c,h,m}'
ss.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SQLITE_HAS_CODEC=1'
}
end
end