added modulemap
This commit is contained in:
parent
1d719f914a
commit
43bb7f4e4c
|
@ -3,6 +3,7 @@
|
|||
|
||||
# Xcode
|
||||
build/
|
||||
.build/
|
||||
*.pbxuser
|
||||
!default.pbxuser
|
||||
*.mode1v3
|
||||
|
|
|
@ -40,23 +40,22 @@ let package = Package(
|
|||
"secp256k1/src/bench.h",
|
||||
"secp256k1/src/modules/ecdh/tests_impl.h",
|
||||
"secp256k1/src/modules/recovery/tests_impl.h",
|
||||
|
||||
"secp256k1/contrib",
|
||||
"exporter"
|
||||
],
|
||||
sources: [
|
||||
".",
|
||||
"secp256k1/src",
|
||||
"secp256k1/include",
|
||||
"secp256k1/contrib",
|
||||
"secp256k1/modules/ecdh",
|
||||
"secp256k1/modules/recovery"
|
||||
],
|
||||
publicHeadersPath: "secp256k1/include",
|
||||
cSettings: [
|
||||
.define("HAVE_CONFIG_H"),
|
||||
.headerSearchPath("./secp256k1/Classes/secp256k1"),
|
||||
.headerSearchPath("./secp256k1/Classes/secp256k1/src"),
|
||||
.headerSearchPath("./secp256k1/Classes")
|
||||
.headerSearchPath("secp256k1"),
|
||||
.headerSearchPath("secp256k1/src"),
|
||||
.headerSearchPath(".")
|
||||
]),
|
||||
.target(
|
||||
name: "secp256k1",
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
module libsecp256k1 {
|
||||
header "secp256k1.h"
|
||||
header "secp256k1_ecdh.h"
|
||||
header "secp256k1_recovery.h"
|
||||
header "secp256k1_preallocated.h"
|
||||
}
|
Loading…
Reference in New Issue