SwiftNES/Package.swift

23 lines
769 B
Swift
Raw Normal View History

2024-05-10 22:06:45 -05:00
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "SwiftNES",
2024-05-11 22:30:17 -05:00
platforms: [.macOS("11.0")],
dependencies: [
.package(url: "https://github.com/ctreffs/SwiftSDL2.git", from: "1.4.0")
],
2024-05-10 22:06:45 -05:00
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.executableTarget(
2024-05-11 22:30:17 -05:00
name: "SwiftNES",
dependencies: [
.product(name: "SDL", package: "SwiftSDL2")
]),
2024-05-10 22:06:45 -05:00
.testTarget(name: "SwiftNESTests", dependencies: ["SwiftNES"])
]
)