winui-swift/Package.swift

48 lines
1.5 KiB
Swift
Raw Normal View History

2024-10-13 21:11:31 +02:00
// swift-tools-version: 6.0
//
// Package.swift
// WinUI
//
// Created by david-swift on 11.10.24.
//
import PackageDescription
/// The WinUI package.
let package = Package(
name: "WinUI",
products: [
.library(
name: "WinUI",
targets: ["winui-swift"]
)
],
dependencies: [
.package(url: "https://git.aparoksha.dev/aparoksha/meta", branch: "main"),
.package(
url: "https://git.aparoksha.dev/aparoksha/levenshtein-transformations",
branch: "main"
),
.package(url: "https://github.com/thebrowsercompany/swift-winui", branch: "main"),
.package(url: "https://github.com/thebrowsercompany/swift-windowsappsdk", branch: "main"),
.package(url: "https://github.com/thebrowsercompany/swift-windowsfoundation", branch: "main")
],
targets: [
.target(
name: "winui-swift",
dependencies: [
.product(name: "WinUI", package: "swift-winui"),
.product(name: "WinAppSDK", package: "swift-windowsappsdk"),
.product(name: "WindowsFoundation", package: "swift-windowsfoundation"),
.product(name: "LevenshteinTransformations", package: "levenshtein-transformations"),
.product(name: "Meta", package: "meta")
]
),
.executableTarget(
name: "Demo",
dependencies: ["winui-swift"]
)
],
swiftLanguageModes: [.v5]
)