NetNewsWire/RSCore/Package.swift

38 lines
962 B
Swift
Raw Normal View History

// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "RSCore",
platforms: [.macOS(.v14), .iOS(.v17)],
products: [
.library(name: "RSCore", type: .dynamic, targets: ["RSCore"]),
.library(name: "RSCoreObjC", type: .dynamic, targets: ["RSCoreObjC"]),
.library(name: "RSCoreResources", type: .static, targets: ["RSCoreResources"])
],
2024-11-09 03:56:54 +01:00
targets: [
.target(
name: "RSCore",
dependencies: ["RSCoreObjC"],
swiftSettings: [
.unsafeFlags(["-warnings-as-errors"])
]),
.target(
name: "RSCoreObjC",
dependencies: [],
cSettings: [
.headerSearchPath("include")
]
),
.target(
name: "RSCoreResources",
resources: [
.process("Resources/WebViewWindow.xib"),
.process("Resources/IndeterminateProgressWindow.xib")
]),
.testTarget(
name: "RSCoreTests",
dependencies: ["RSCore"]),
]
)