33 lines
800 B
Swift
33 lines
800 B
Swift
![]() |
// swift-tools-version:5.0
|
||
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
||
|
/*
|
||
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*/
|
||
|
|
||
|
|
||
|
import PackageDescription
|
||
|
|
||
|
let package = Package(
|
||
|
name: "yoga",
|
||
|
products: [
|
||
|
.library(name: "yoga", targets: [ "core" ])
|
||
|
],
|
||
|
targets: [
|
||
|
.target(
|
||
|
name: "core",
|
||
|
path: ".",
|
||
|
sources: [
|
||
|
"yoga"
|
||
|
],
|
||
|
publicHeadersPath: ".",
|
||
|
cxxSettings: [
|
||
|
.headerSearchPath(".")
|
||
|
]
|
||
|
)
|
||
|
],
|
||
|
cxxLanguageStandard: CXXLanguageStandard(rawValue: "c++17")
|
||
|
)
|