mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
43 lines
1.1 KiB
Swift
43 lines
1.1 KiB
Swift
// swift-tools-version:5.2
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "GRDB",
|
|
platforms: [
|
|
.iOS(.v11),
|
|
.macOS(.v10_10),
|
|
.tvOS(.v9),
|
|
.watchOS(.v2),
|
|
],
|
|
products: [
|
|
.library(name: "GRDB", targets: ["GRDB"]),
|
|
.library(name: "GRDB-dynamic", type: .dynamic, targets: ["GRDB"]),
|
|
],
|
|
dependencies: [
|
|
],
|
|
targets: [
|
|
.systemLibrary(
|
|
name: "CSQLite",
|
|
providers: [.apt(["libsqlite3-dev"])]),
|
|
.target(
|
|
name: "GRDB",
|
|
dependencies: ["CSQLite"],
|
|
path: "GRDB"),
|
|
.testTarget(
|
|
name: "GRDBTests",
|
|
dependencies: ["GRDB"],
|
|
path: "Tests",
|
|
exclude: [
|
|
"CocoaPods",
|
|
"CustomSQLite",
|
|
"Crash",
|
|
"Performance",
|
|
"SPM",
|
|
"GRDBTests/getThreadsCount.c",
|
|
])
|
|
],
|
|
swiftLanguageVersions: [.v5]
|
|
)
|