Add OLMKit target to SPM manifest
OLMKit doesn't compile yet, but we are getting closer.
This commit is contained in:
parent
8deccb9c51
commit
29d3bc749b
1 changed files with 16 additions and 1 deletions
|
@ -7,7 +7,8 @@ let version = ( major: 3, minor: 1, patch: 4 )
|
||||||
let package = Package(
|
let package = Package(
|
||||||
name: "Olm",
|
name: "Olm",
|
||||||
products: [
|
products: [
|
||||||
.library(name: "libolm", targets: ["libolm"])
|
.library(name: "libolm", targets: ["libolm"]),
|
||||||
|
.library(name: "OLMKit", targets: ["OLMKit"]),
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
.target(
|
.target(
|
||||||
|
@ -22,6 +23,20 @@ let package = Package(
|
||||||
.headerSearchPath("lib"),
|
.headerSearchPath("lib"),
|
||||||
.unsafeFlags([ "-Wall", "-Werror" ])
|
.unsafeFlags([ "-Wall", "-Werror" ])
|
||||||
]
|
]
|
||||||
|
),
|
||||||
|
.target(
|
||||||
|
name: "OLMKit",
|
||||||
|
dependencies: [ "libolm" ],
|
||||||
|
path: "xcode",
|
||||||
|
sources: [ "OLMKit" ],
|
||||||
|
publicHeadersPath: "OLMKit",
|
||||||
|
cSettings: [
|
||||||
|
.headerSearchPath("."),
|
||||||
|
.unsafeFlags([
|
||||||
|
"-Wno-unused-command-line-argument",
|
||||||
|
"-fmodules", "-fcxx-modules"
|
||||||
|
])
|
||||||
|
]
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
cLanguageStandard: .c99,
|
cLanguageStandard: .c99,
|
||||||
|
|
Loading…
Reference in a new issue