Add support for Swift Package Manager #1032
@@ -6,26 +6,27 @@ import PackageDescription
|
|||||||
let package = Package(
|
let package = Package(
|
||||||
name: "yoga",
|
name: "yoga",
|
||||||
platforms: [
|
platforms: [
|
||||||
.iOS(.v14),
|
.iOS(.v14),
|
||||||
],
|
],
|
||||||
products: [
|
products: [
|
||||||
.library(
|
.library(
|
||||||
name: "yoga",
|
name: "yoga",
|
||||||
|
type: .dynamic,
|
||||||
targets: ["yoga"]
|
targets: ["yoga"]
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
.target(
|
.target(
|
||||||
name: "yoga",
|
name: "yoga",
|
||||||
dependencies: [],
|
dependencies: [],
|
||||||
path: "./yoga",
|
path: "./yoga",
|
||||||
cxxSettings: [
|
cxxSettings: [
|
||||||
.headerSearchPath("../"),
|
.headerSearchPath("../"),
|
||||||
],
|
],
|
||||||
linkerSettings: [
|
linkerSettings: [
|
||||||
.linkedFramework("Foundation"),
|
.linkedFramework("Foundation"),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
cxxLanguageStandard: .cxx14
|
cxxLanguageStandard: .cxx14
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user