winui-swift/Package.swift

60 lines
1.8 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(
2024-10-15 06:28:04 +02:00
name: "WinUISwift",
2024-10-13 21:11:31 +02:00
targets: ["winui-swift"]
2024-10-16 22:18:39 +02:00
),
.library(
name: "Core",
targets: ["Core"]
2024-10-13 21:11:31 +02:00
)
],
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-windowsappsdk", branch: "main"),
2024-11-03 12:15:33 +01:00
.package(url: "https://github.com/thebrowsercompany/swift-windowsfoundation", branch: "main"),
.package(url: "https://github.com/thebrowsercompany/swift-cwinrt", branch: "main"),
.package(url: "https://github.com/AparokshaUI/winui", branch: "main")
2024-10-13 21:11:31 +02:00
],
targets: [
.target(
name: "Core",
2024-10-13 21:11:31 +02:00
dependencies: [
2024-11-03 12:15:33 +01:00
.product(name: "WinUI", package: "winui"),
2024-10-13 21:11:31 +02:00
.product(name: "WinAppSDK", package: "swift-windowsappsdk"),
.product(name: "WindowsFoundation", package: "swift-windowsfoundation"),
2024-11-03 12:15:33 +01:00
.product(name: "CWinRT", package: "swift-cwinrt"),
2024-10-13 21:11:31 +02:00
.product(name: "LevenshteinTransformations", package: "levenshtein-transformations"),
.product(name: "Meta", package: "meta")
]
),
.target(
name: "winui-swift",
dependencies: [
"Core"
]
),
2024-10-13 21:11:31 +02:00
.executableTarget(
name: "Demo",
dependencies: ["winui-swift"]
)
],
swiftLanguageModes: [.v5]
)