2020-10-07 22:06:51 +02:00
|
|
|
// swift-tools-version:5.3
|
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "yoga",
|
|
|
|
platforms: [
|
|
|
|
.iOS(.v14),
|
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "yoga",
|
|
|
|
targets: ["yoga"]
|
|
|
|
),
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "yoga",
|
|
|
|
dependencies: [],
|
|
|
|
path: "./yoga",
|
2020-10-07 22:42:25 +02:00
|
|
|
// publicHeadersPath: "./yoga",
|
2020-10-07 22:06:51 +02:00
|
|
|
cxxSettings: [
|
|
|
|
.headerSearchPath("../"),
|
2020-10-07 22:42:25 +02:00
|
|
|
// .unsafeFlags([
|
|
|
|
// "-fno-omit-frame-pointer",
|
|
|
|
// "-fexceptions",
|
|
|
|
// "-Wall",
|
|
|
|
// "-Werror",
|
|
|
|
// "-std=c++1y",
|
|
|
|
// "-fPIC",
|
|
|
|
// ])
|
2020-10-07 22:06:51 +02:00
|
|
|
]
|
|
|
|
)
|
2020-10-07 22:42:25 +02:00
|
|
|
],
|
|
|
|
cxxLanguageStandard: .cxx11
|
2020-10-07 22:06:51 +02:00
|
|
|
)
|