Repository navigation
Expand file tree
/
Copy pathmcpp.toml
More file actions
45 lines (37 loc) · 1.57 KB
/
Copy pathmcpp.toml
File metadata and controls
45 lines (37 loc) · 1.57 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
# Module wrapper; upstream API preserved. Policy: mcpp-index/docs/mwrap.md.
[package]
namespace = "mcpplibs.mwrap"
name = "meshoptimizer"
version = "1.3.1"
description = "meshoptimizer 1.3 C++ modules for mcpp (import mcpplibs.mwrap.meshoptimizer;): mesh indexing, vertex cache / overdraw / fetch optimization, simplification, meshlets, and the vertex / index codecs"
license = "Apache-2.0"
authors = ["mcpp-community"]
repo = "https://github.com/mcpplibs/meshoptimizer-m"
platforms = ["linux", "macos", "windows"]
[targets.meshoptimizer]
kind = "lib"
[build]
# The whole library, vendored byte for byte under upstream/meshoptimizer/src
# (upstream/documents.json: the release tarball, each file's checksum).
sources = ["src/*.cppm", "upstream/meshoptimizer/src/*.cpp"]
include_dirs = ["upstream/meshoptimizer/src"]
# Every platform makes the same meshlets, clusters and simplifications: the
# compiler fuses no multiply and add into one rounding (arm64's default does,
# x86-64's cannot without FMA), so no float decision differs by platform.
cxxflags = ["-ffp-contract=off", "-fno-fast-math"]
[dev-dependencies]
compat.gtest = "1.15.2"
[package.metadata.mwrap]
upstream-version = "1.3"
[[runtime.deploy]]
from = "LICENSE"
to = "licenses/meshoptimizer"
[[runtime.deploy]]
from = "NOTICE"
to = "licenses/meshoptimizer"
[[runtime.deploy]]
from = "upstream/meshoptimizer/README.md"
to = "licenses/meshoptimizer/upstream/meshoptimizer"
[[runtime.deploy]]
from = "upstream/meshoptimizer/LICENSE.md"
to = "licenses/meshoptimizer/upstream/meshoptimizer"