Files
rs-azookey-binding/azookey-swift/Package.swift
mii443 e264cbaacb first
2025-04-15 18:16:44 +09:00

35 lines
1.0 KiB
Swift

// swift-tools-version: 6.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "azookey-swift",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "azookey-swift",
type: .dynamic,
targets: ["azookey-swift"]),
.library(
name: "ffi",
targets: ["azookey-swift"]
)
],
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: "ffi"),
.target(
name: "azookey-swift",
dependencies: [
"ffi"
]
),
.testTarget(
name: "azookey-swiftTests",
dependencies: ["azookey-swift"]
),
]
)