Add support for Swift Package Manager #1032
@@ -19,18 +19,19 @@ let package = Package(
|
|||||||
name: "yoga",
|
name: "yoga",
|
||||||
dependencies: [],
|
dependencies: [],
|
||||||
path: "./yoga",
|
path: "./yoga",
|
||||||
publicHeadersPath: "./yoga",
|
// publicHeadersPath: "./yoga",
|
||||||
cxxSettings: [
|
cxxSettings: [
|
||||||
.headerSearchPath("../"),
|
.headerSearchPath("../"),
|
||||||
.unsafeFlags([
|
// .unsafeFlags([
|
||||||
"-fno-omit-frame-pointer",
|
// "-fno-omit-frame-pointer",
|
||||||
"-fexceptions",
|
// "-fexceptions",
|
||||||
"-Wall",
|
// "-Wall",
|
||||||
"-Werror",
|
// "-Werror",
|
||||||
"-std=c++1y",
|
// "-std=c++1y",
|
||||||
"-fPIC",
|
// "-fPIC",
|
||||||
])
|
// ])
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
]
|
],
|
||||||
|
cxxLanguageStandard: .cxx11
|
||||||
)
|
)
|
||||||
|
1
yoga/include/YGEnums.h
Symbolic link
1
yoga/include/YGEnums.h
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../YGEnums.h
|
1
yoga/include/YGMacros.h
Symbolic link
1
yoga/include/YGMacros.h
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../YGMacros.h
|
1
yoga/include/YGNode.h
Symbolic link
1
yoga/include/YGNode.h
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../YGNode.h
|
1
yoga/include/YGStyle.h
Symbolic link
1
yoga/include/YGStyle.h
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../YGStyle.h
|
1
yoga/include/YGValue.h
Symbolic link
1
yoga/include/YGValue.h
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../YGValue.h
|
1
yoga/include/Yoga.h
Symbolic link
1
yoga/include/Yoga.h
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../Yoga.h
|
Reference in New Issue
Block a user
this should probably be
.cxx17
, as this is the version we are typically using internally.Yoga is targeting C++14 for a little bit longer. There was some unhappiness when I tried to bump from C++ 11 directly to 17.
LLVM has had C++ 17 support for almost six years though, so I do plan for us to do a bump later this year. Same rules for same infra, and unlocking more support.
See https://github.com/facebook/yoga/pull/1203 for discussion