app_window 0.3.3

Cross-platform window library
Documentation
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "SwiftAppWindow", platforms: [.macOS(.v14)],
    products: [
        // Products define the executables and libraries a package produces, making them visible to other packages.
        .library(
            name: "SwiftAppWindow",
            type: .static,
            targets: ["SwiftAppWindow"]),
    ], dependencies: [
        .package(url: "https://github.com/Brendonovich/swift-rs", from: "1.0.7")
    ],
    targets: [
        // Targets are the basic building blocks of a package, defining a module or a test suite.
        // Targets can depend on other targets in this package and products from dependencies.
        .target(
            name: "SwiftAppWindow",
            dependencies: [
                            .product(
                                name: "SwiftRs",
                                package: "swift-rs"
                            ),
                            .target(name: "SwiftAppWindowC")
                        ]),
        .target(name: "SwiftAppWindowC"),
        .testTarget(
            name: "SwiftAppWindowTests",
            dependencies: ["SwiftAppWindow"]
        ),
    ]
)