4954c025b03fc92bd48468f08744582c0c0a5bf0
[ldk-swift-linux] / LDKSwift / Package.swift
1 // swift-tools-version:5.3
2 // The swift-tools-version declares the minimum version of Swift required to build this package.
3
4 import PackageDescription
5
6 let package = Package(
7     name: "LDKSwift",
8     products: [
9         .library(
10             name: "LDKSwift",
11             targets: ["LDKSwift"]),
12     ],
13     dependencies: [
14         .package(path: "../LDKCHeaders"),
15     ],
16     targets: [
17         // Targets are the basic building blocks of a package. A target can define a module or a test suite.
18         // Targets can depend on other targets in this package, and on products in packages this package depends on.
19         .target(
20             name: "LDKSwift",
21             dependencies: ["LDKCHeaders"]),
22         .testTarget(
23             name: "LDKSwiftTests",
24             dependencies: ["LDKSwift"]),
25     ]
26 )