48 lines
1.5 KiB
Swift
48 lines
1.5 KiB
Swift
|
// 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]
|
||
|
)
|