Change to use the symbol link to the webp folder, fix the SwiftPM

This commit is contained in:
DreamPiggy 2019-12-27 19:07:12 +08:00
parent 413f22124f
commit e04c3d78a2
8 changed files with 11 additions and 4 deletions

View File

@ -21,9 +21,9 @@ let package = Package(
.target(
name: "libwebp",
dependencies: [],
path: "libwebp",
sources: ["src"],
publicHeadersPath: "src",
cSettings: [.headerSearchPath(".")])
path: ".",
sources: ["libwebp/src"],
publicHeadersPath: "include",
cSettings: [.headerSearchPath("libwebp")])
]
)

1
include/webp/decode.h Symbolic link
View File

@ -0,0 +1 @@
../../libwebp/src/webp/decode.h

1
include/webp/demux.h Symbolic link
View File

@ -0,0 +1 @@
../../libwebp/src/webp/demux.h

1
include/webp/encode.h Symbolic link
View File

@ -0,0 +1 @@
../../libwebp/src/webp/encode.h

View File

@ -0,0 +1 @@
../../libwebp/src/webp/format_constants.h

1
include/webp/mux.h Symbolic link
View File

@ -0,0 +1 @@
../../libwebp/src/webp/mux.h

1
include/webp/mux_types.h Symbolic link
View File

@ -0,0 +1 @@
../../libwebp/src/webp/mux_types.h

1
include/webp/types.h Symbolic link
View File

@ -0,0 +1 @@
../../libwebp/src/webp/types.h