2024-11-07 06:01:17 +01:00
|
|
|
// swift-tools-version:5.9
|
2024-11-04 07:13:01 +01:00
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "RSCore",
|
2024-11-07 06:01:17 +01:00
|
|
|
platforms: [.macOS(.v14), .iOS(.v17)],
|
2024-11-04 07:13:01 +01:00
|
|
|
products: [
|
|
|
|
.library(name: "RSCore", type: .dynamic, targets: ["RSCore"]),
|
|
|
|
.library(name: "RSCoreObjC", type: .dynamic, targets: ["RSCoreObjC"]),
|
|
|
|
.library(name: "RSCoreResources", type: .static, targets: ["RSCoreResources"])
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "RSCore",
|
|
|
|
dependencies: ["RSCoreObjC"]),
|
|
|
|
.target(
|
|
|
|
name: "RSCoreObjC",
|
|
|
|
dependencies: [],
|
|
|
|
cSettings: [
|
|
|
|
.headerSearchPath("include")
|
|
|
|
]
|
|
|
|
),
|
|
|
|
.target(
|
|
|
|
name: "RSCoreResources",
|
|
|
|
resources: [
|
|
|
|
.process("Resources/WebViewWindow.xib"),
|
|
|
|
.process("Resources/IndeterminateProgressWindow.xib")
|
|
|
|
]),
|
|
|
|
.testTarget(
|
|
|
|
name: "RSCoreTests",
|
|
|
|
dependencies: ["RSCore"]),
|
|
|
|
]
|
|
|
|
)
|