Repository navigation
Expand file tree
/
Copy pathmcpp.toml
More file actions
50 lines (41 loc) · 1.65 KB
/
Copy pathmcpp.toml
File metadata and controls
50 lines (41 loc) · 1.65 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
# Module wrapper; upstream API preserved. Policy: mcpp-index/docs/mwrap.md.
[package]
namespace = "mcpplibs.mwrap"
name = "manifold"
version = "3.5.5.1"
description = "Manifold 3.5.5 C++ modules for mcpp (import mcpplibs.mwrap.manifold;): booleans, hulls, level sets, slices and extrusions of solids that stay solid"
license = "Apache-2.0"
authors = ["mcpp-community"]
repo = "https://github.com/mcpplibs/manifold-m"
platforms = ["linux", "macos", "windows"]
[targets.manifold]
kind = "lib"
[build]
# The library is vendored byte for byte from the v3.5.5 release under
# upstream/manifold and built as upstream's own build does with its defaults
# (floating-point contraction off, as upstream sets it: a fused multiply-add
# changes results), save two choices: one thread (MANIFOLD_PAR=-1, no oneTBB: the same result on
# every machine) and no CrossSection (MANIFOLD_CROSS_SECTION off: upstream's
# class needs Clipper2, and its own backend is a stub in this release).
sources = ["src/*.cppm", "upstream/manifold/src/*.cpp"]
include_dirs = ["upstream/manifold/include"]
cxxflags = ["-DMANIFOLD_PAR=-1", "-ffp-contract=off"]
[dev-dependencies]
compat.gtest = "1.15.2"
[package.metadata.mwrap]
upstream-version = "3.5.5"
[[runtime.deploy]]
from = "LICENSE"
to = "licenses/manifold"
[[runtime.deploy]]
from = "NOTICE"
to = "licenses/manifold"
[[runtime.deploy]]
from = "upstream/manifold/README.md"
to = "licenses/manifold/upstream/manifold"
[[runtime.deploy]]
from = "upstream/manifold/LICENSE"
to = "licenses/manifold/upstream/manifold"
[[runtime.deploy]]
from = "upstream/manifold/AUTHORS"
to = "licenses/manifold/upstream/manifold"