Add Package.swift

This commit is contained in:
Koray Koska 2018-02-16 03:01:22 +01:00
parent a4d5a20fd6
commit 0c877efae4
1 changed files with 26 additions and 0 deletions

26
Package.swift Normal file
View File

@ -0,0 +1,26 @@
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "secp256k1",
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "secp256k1",
targets: ["secp256k1"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "secp256k1",
path: "./secp256k1/Classes",
sources: [".", "secp256k1"],
publicHeadersPath: "secp256k1/include"),
]
)