winui-swift/Package.swift
david-swift 40858df21d
Some checks are pending
Deploy Docs / publish (push) Waiting to run
SwiftLint / SwiftLint (push) Successful in 4s
Export Core target
2024-10-16 22:18:39 +02:00

58 lines
1.7 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: "WinUISwift",
targets: ["winui-swift"]
),
.library(
name: "Core",
targets: ["Core"]
)
],
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: "Core",
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")
]
),
.target(
name: "winui-swift",
dependencies: [
"Core"
]
),
.executableTarget(
name: "Demo",
dependencies: ["winui-swift"]
)
],
swiftLanguageModes: [.v5]
)