Repository navigation
Expand file tree
/
Copy pathmcpp.toml
More file actions
62 lines (49 loc) · 1.87 KB
/
Copy pathmcpp.toml
File metadata and controls
62 lines (49 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Module wrapper; upstream API preserved. Policy: mcpp-index/docs/mwrap.md.
[package]
namespace = "mcpplibs.mwrap"
name = "libwebp"
version = "1.5.0"
description = "libwebp 1.5.0 C++ modules for mcpp (import mcpplibs.mwrap.libwebp;): the WebP codec's decode, encode and sharpyuv API over compat.libwebp, its static inline API adapted, its macros as constants and constexpr functions; demux (WebPAnimDecoder) and mux (WebPAnimEncoder) as features"
license = "Apache-2.0"
authors = ["mcpp-community"]
repo = "https://github.com/mcpplibs/libwebp-m"
platforms = ["linux", "macos", "windows"]
[targets.libwebp]
kind = "lib"
[build]
sources = ["src/*.cppm", "src/*.cpp"]
[features]
default = []
# libwebpdemux: the container parser and WebPAnimDecoder (compat.libwebp's
# src/demux), and the module that exports them.
demux = { sources = ["src/demux/*.cppm", "src/demux/*.cpp"], forward = ["compat.libwebp/demux"] }
# libwebpmux: the container editor and WebPAnimEncoder (compat.libwebp's
# src/mux), and the module that exports them.
mux = { sources = ["src/mux/*.cppm", "src/mux/*.cpp"], forward = ["compat.libwebp/mux"] }
[dependencies]
compat.libwebp = "1.5.0"
[dev-dependencies]
compat.gtest = "1.15.2"
[test]
# tests/anim is its own project (it needs the demux and mux features).
discover = ["tests/*.cpp"]
[package.metadata.mwrap]
upstream-version = "1.5.0"
[[runtime.deploy]]
from = "LICENSE"
to = "licenses/libwebp"
[[runtime.deploy]]
from = "NOTICE"
to = "licenses/libwebp"
[[runtime.deploy]]
from = "upstream/libwebp/README.md"
to = "licenses/libwebp/upstream/libwebp"
[[runtime.deploy]]
from = "upstream/libwebp/COPYING"
to = "licenses/libwebp/upstream/libwebp"
[[runtime.deploy]]
from = "upstream/libwebp/PATENTS"
to = "licenses/libwebp/upstream/libwebp"
[[runtime.deploy]]
from = "upstream/libwebp/AUTHORS"
to = "licenses/libwebp/upstream/libwebp"