-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
29 lines (28 loc) · 884 Bytes
/
Package.swift
File metadata and controls
29 lines (28 loc) · 884 Bytes
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: 6.0
import PackageDescription
let package = Package(
name: "SyphonWeb",
platforms: [
.macOS(.v13)
],
dependencies: [
.package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.15.4")
],
targets: [
.binaryTarget(
name: "Syphon",
path: "./third_party/Syphon.xcframework"
),
.executableTarget(
name: "SyphonWeb",
dependencies: ["Syphon", .product(name: "SQLite", package: "sqlite.swift")],
swiftSettings: [
// Again. More hacks to use Syphon framework outside of the usual XCode environment. Ugh.
.unsafeFlags([
"-I",
"./third_party/Syphon.xcframework/macos-arm64_x86_64/Syphon.framework/Headers",
])
]
),
]
)