-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
36 lines (34 loc) · 995 Bytes
/
Package.swift
File metadata and controls
36 lines (34 loc) · 995 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
36
// swift-tools-version: 6.1
import PackageDescription
let package = Package(
name: "PDKMasterPlayer",
platforms: [.macOS(.v14)],
products: [
.library(name: "PDKMasterPlayer", targets: ["PDKMasterPlayer"])
],
dependencies: [
.package(url: "https://github.com/finnvoor/PlaydateKit.git", branch: "main"),
.package(url: "https://github.com/strawdynamics/UTF8ViewExtensions.git", branch: "main"),
],
targets: [
.target(
name: "PDKMasterPlayer",
dependencies: [
.product(name: "PlaydateKit", package: "PlaydateKit"),
.product(name: "UTF8ViewExtensions", package: "UTF8ViewExtensions"),
],
swiftSettings: [
.enableExperimentalFeature("Embedded"),
.unsafeFlags([
"-whole-module-optimization",
"-Xfrontend", "-disable-objc-interop",
"-Xfrontend", "-disable-stack-protector",
"-Xfrontend", "-function-sections",
"-Xfrontend", "-gline-tables-only",
"-Xcc", "-DTARGET_EXTENSION"
]),
],
),
],
swiftLanguageModes: [.v6],
)