Skip to content

Commit

Permalink
chore: move FlexLayout.h to public header directory
Browse files Browse the repository at this point in the history
  • Loading branch information
OhKanghoon committed Feb 12, 2024
1 parent c5a9e97 commit fe8c720
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
10 changes: 9 additions & 1 deletion FlexLayout.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@
24AE97341FEAF30A00995987 /* SupportingFiles */ = {
isa = PBXGroup;
children = (
24AE97351FEAF30A00995987 /* FlexLayout.h */,
);
path = SupportingFiles;
sourceTree = "<group>";
Expand Down Expand Up @@ -307,6 +306,14 @@
path = YogaKit;
sourceTree = "<group>";
};
71CE1DE72B79E81500FD1037 /* Public */ = {
isa = PBXGroup;
children = (
24AE97351FEAF30A00995987 /* FlexLayout.h */,
);
path = Public;
sourceTree = "<group>";
};
B5403C6F81C3814B69C05D0B /* Frameworks */ = {
isa = PBXGroup;
children = (
Expand All @@ -320,6 +327,7 @@
B9EAD87E238884C90058E0CB /* Swift */ = {
isa = PBXGroup;
children = (
71CE1DE72B79E81500FD1037 /* Public */,
24AE972E1FEAF30A00995987 /* FlexLayout.swift */,
24AE972F1FEAF30A00995987 /* Impl */,
24AE97331FEAF30A00995987 /* Percent.swift */,
Expand Down
19 changes: 6 additions & 13 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,27 @@ let package = Package(
.target(
name: "FlexLayout",
dependencies: ["FlexLayoutYoga", "FlexLayoutYogaKit"],
path: "Sources/Swift"
path: "Sources/Swift",
publicHeadersPath: "Public"
),
.target(
name: "FlexLayoutYoga",
dependencies: [],
path: "Sources/yoga",
publicHeadersPath: "include/yoga/",
cxxSettings: [
.headerSearchPath("include/yoga/"),
.headerSearchPath("."),
]
publicHeadersPath: "include/yoga"
),
.target(
name: "FlexLayoutYogaKit",
dependencies: ["FlexLayoutYoga"],
path: "Sources/YogaKit",
publicHeadersPath: "include/YogaKit/",
cxxSettings: [
.headerSearchPath("include/YogaKit/"),
.headerSearchPath("."),
]
publicHeadersPath: "include/YogaKit"
),
.testTarget(
name: "FlexLayoutTests",
dependencies: [
"FlexLayout"
"FlexLayout",
]
)
),
],
cLanguageStandard: .gnu99,
cxxLanguageStandard: .gnucxx11
Expand Down
File renamed without changes.

0 comments on commit fe8c720

Please sign in to comment.