-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathPackage.swift
More file actions
34 lines (32 loc) · 979 Bytes
/
Package.swift
File metadata and controls
34 lines (32 loc) · 979 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
// swift-tools-version: 6.0
import PackageDescription
// swiftlint:disable:next explicit_top_level_acl
let package = Package(
name: "Compute",
platforms: [.macOS(.v15), .iOS(.v18)],
products: [
.library(name: "Compute", targets: ["Compute"]),
],
dependencies: [
.package(url: "https://github.com/schwa/MetalCompilerPlugin", from: "0.1.0")
],
targets: [
.target(name: "Compute"),
.target(name: "MetalSupportLite"),
.executableTarget(
name: "Examples",
dependencies: [
"Compute",
"MetalSupportLite",
],
resources: [
.copy("Bundle.txt"),
.process("Resources/Media.xcassets")
],
plugins: [
.plugin(name: "MetalCompilerPlugin", package: "MetalCompilerPlugin")
]
),
.testTarget(name: "ComputeTests", dependencies: ["Compute"])
]
)