-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
29 lines (27 loc) · 984 Bytes
/
Package.swift
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
// swift-tools-version:5.4
// The swift-tools-version declares the minimum version of Swift required to build this package.
import Foundation
import PackageDescription
let package = Package(
name: "SwiftFMDB",
products: [
.library(name: "SwiftFMDB", targets: ["SwiftFMDB"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", .upToNextMinor(from: "1.4.4")),
.package(name: "SQLite", url: "https://github.com/readdle/swift-sqlite", .exact( "3.39.4-unicode.1"))
],
targets: [
.target(name: "SwiftFMDB",
dependencies: [
"SQLite",
.product(name: "Logging", package: "swift-log")
],
cSettings: [
.define("SQLITE_ENABLE_NORMALIZE", to: "1")
]),
.testTarget(name: "SwiftFMDBTests",
dependencies: ["SwiftFMDB"],
exclude: ["main.swift"]),
]
)