feature: support swift package manager
This commit is contained in:
committed by
Songwen Ding
parent
7f97e8b232
commit
2a3f4a3817
38
Package.swift
Normal file
38
Package.swift
Normal file
@@ -0,0 +1,38 @@
|
||||
// swift-tools-version:5.0
|
||||
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "YogaKit",
|
||||
platforms: [
|
||||
.macOS(.v10_10),
|
||||
.iOS(.v8),
|
||||
.tvOS(.v9),
|
||||
.watchOS(.v2)
|
||||
],
|
||||
products: [
|
||||
.library(
|
||||
name: "YogaKit",
|
||||
type: .static,
|
||||
targets: ["YogaKit"]
|
||||
)
|
||||
],
|
||||
dependencies: [],
|
||||
targets: [
|
||||
.target(
|
||||
name: "YogaKit",
|
||||
path: "yoga",
|
||||
exclude: [],
|
||||
sources: ["./"],
|
||||
publicHeadersPath: "include",
|
||||
cSettings: [
|
||||
.headerSearchPath("./")
|
||||
]
|
||||
)
|
||||
],
|
||||
swiftLanguageVersions: [
|
||||
.version("5")
|
||||
],
|
||||
cLanguageStandard: .gnu11,
|
||||
cxxLanguageStandard: .gnucxx14
|
||||
)
|
Reference in New Issue
Block a user