29 lines
945 B
Swift
29 lines
945 B
Swift
// swift-tools-version: 5.10
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "swift-windowsappsdk",
|
|
products: [
|
|
.library(name: "WinAppSDK", type: .dynamic, targets: ["WinAppSDK"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/thebrowsercompany/swift-cwinrt", branch: "main"),
|
|
.package(url: "https://github.com/thebrowsercompany/swift-uwp", branch: "main"),
|
|
.package(url: "https://github.com/thebrowsercompany/swift-windowsfoundation", branch: "main"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "WinAppSDK",
|
|
dependencies: [
|
|
.product(name: "CWinRT", package: "swift-cwinrt"),
|
|
.product(name: "UWP", package: "swift-uwp"),
|
|
.product(name: "WindowsFoundation", package: "swift-windowsfoundation"),
|
|
],
|
|
resources: [
|
|
.copy("NativeBinaries")
|
|
]
|
|
),
|
|
]
|
|
)
|