-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
35 lines (33 loc) · 794 Bytes
/
Copy pathPackage.swift
File metadata and controls
35 lines (33 loc) · 794 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
30
31
32
33
34
35
// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "CodexKit",
platforms: [
.iOS(.v17),
.macOS(.v14),
],
products: [
.library(
name: "CodexKit",
targets: ["CodexKit"]
),
],
targets: [
.binaryTarget(
name: "CodexKitFFI",
path: "Upstream/codex/codex-rs/target/CodexKitFFI.xcframework"
),
.target(
name: "CodexKit",
dependencies: ["CodexKitFFI"],
linkerSettings: [
.linkedFramework("SystemConfiguration"),
.linkedLibrary("z"),
]
),
.testTarget(
name: "CodexKitTests",
dependencies: ["CodexKit"]
),
]
)