Add support for Swift Package Manager #1032

Closed
salling wants to merge 17 commits from swiftpm into main
9 changed files with 50 additions and 1 deletions
Showing only changes of commit ee0e3ade74 - Show all commits

View File

@@ -6,26 +6,27 @@ import PackageDescription
let package = Package(
name: "yoga",
platforms: [
.iOS(.v14),
],
.iOS(.v14),
],
products: [
.library(
name: "yoga",
type: .dynamic,
targets: ["yoga"]
),
),
],
targets: [
.target(
name: "yoga",
dependencies: [],
path: "./yoga",
cxxSettings: [
.headerSearchPath("../"),
],
linkerSettings: [
.linkedFramework("Foundation"),
]
)
path: "./yoga",
cxxSettings: [
.headerSearchPath("../"),
],
linkerSettings: [
.linkedFramework("Foundation"),
]
)
],
cxxLanguageStandard: .cxx14
)