Repository navigation
Expand file tree
/
Copy pathmcpp.toml
More file actions
60 lines (50 loc) · 2.19 KB
/
Copy pathmcpp.toml
File metadata and controls
60 lines (50 loc) · 2.19 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
# Module wrapper; upstream API preserved. Policy: mcpp-index/docs/mwrap.md.
[package]
namespace = "mcpplibs.mwrap"
name = "acl"
version = "2.1.0"
description = "ACL 2.1.0 C++ modules for mcpp (import mcpplibs.mwrap.acl;): animation clips compressed within a stated error and decompressed at any time, with the Realtime Math library (RTM 2.2.0) it is built on; the same bits on every platform"
license = "Apache-2.0"
authors = ["mcpp-community"]
repo = "https://github.com/mcpplibs/acl-m"
platforms = ["linux", "macos", "windows", "emscripten"]
[targets.acl]
kind = "lib"
[build]
# Both libraries are header-only, vendored from their releases (ACL v2.1.0
# and the RTM v2.2.0 it pins) under upstream/ (upstream/documents.json: the
# release tarballs, each file's checksum; patches/: the one upstream fix
# applied). The module is built with no SIMD intrinsics (RTM_NO_INTRINSICS,
# ACL_NO_INTRINSICS) and no contraction of a*b+c into an FMA, no fast math:
# RTM's SSE and NEON paths round differently (NEON fuses multiply and add;
# SSE takes approximate reciprocals), so with them a clip would decompress to
# different bits on x86-64 and arm64. Without them, every platform computes
# the same IEEE operations.
# -Wno-missing-template-arg-list-after-template-kw: upstream writes
# `template is_bound_to(` (decompress.impl.h), which clang 19 and later make
# an error by default.
sources = ["src/*.cppm"]
include_dirs = ["upstream/acl/includes", "upstream/rtm/includes"]
cxxflags = ["-DRTM_NO_INTRINSICS", "-DACL_NO_INTRINSICS", "-ffp-contract=off", "-fno-fast-math", "-Wno-missing-template-arg-list-after-template-kw", "-Wno-deprecated-declarations"]
[dev-dependencies]
compat.gtest = "1.15.2"
[package.metadata.mwrap]
upstream-version = "2.1.0"
[[runtime.deploy]]
from = "LICENSE"
to = "licenses/acl"
[[runtime.deploy]]
from = "NOTICE"
to = "licenses/acl"
[[runtime.deploy]]
from = "upstream/acl/README.md"
to = "licenses/acl/upstream/acl"
[[runtime.deploy]]
from = "upstream/acl/LICENSE"
to = "licenses/acl/upstream/acl"
[[runtime.deploy]]
from = "upstream/rtm/README.md"
to = "licenses/acl/upstream/rtm"
[[runtime.deploy]]
from = "upstream/rtm/LICENSE"
to = "licenses/acl/upstream/rtm"