1 // swift-tools-version:5.3
2 // The swift-tools-version declares the minimum version of Swift required to build this package.
4 import PackageDescription
11 targets: ["LDKSwift"]),
14 .package(path: "../LDKCHeaders"),
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.
21 dependencies: ["LDKCHeaders"],
23 .linkedLibrary("/root/ldk-c-bindings/lightning-c-bindings/target/debug/libldk.a"),
24 .linkedLibrary("/root/ldk-c-bindings/lightning-c-bindings/ldk_net.o"),
25 .linkedLibrary("/usr/lib/llvm-11/lib/clang/11.0.0/lib/linux/libclang_rt.asan-x86_64.a")
28 name: "LDKSwiftTests",
29 dependencies: ["LDKSwift"]),