forked from injae/serdepp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cppm.toml
108 lines (86 loc) · 2.56 KB
/
cppm.toml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
name = "serdepp"
version = "0.1.4"
description = "c++ universal serialize deserialize library like rust serde"
standard="17"
#tool-version = "dev"
#[cmake]
# include=["cmake/Lua.cmake"]
[profile.dev.compiler]
clang = "-fprofile-instr-generate -fcoverage-mapping"
[lib]
name = "serdepp"
type = "static"
#type = "header-only"
source= ["src/to_static.cpp"]
[[example]]
name = "serde_example1"
source = ["examples/example1.cpp"]
[[example]]
name = "serde_example"
source = ["examples/example.cpp"]
[[example]]
name = "simple_example"
source = ["examples/simple_example.cpp"]
[[example]]
name = "flatten_example"
source = ["examples/flatten.cpp"]
[[example]]
name = "variant_example"
source = ["examples/variant.cpp"]
[[example]]
name = "parse_file_example"
source = ["examples/parse_file.cpp"]
[[example]]
name = "struct_attribute_example"
source = ["examples/struct_attribute.cpp"]
[[example]]
name = "sugar"
source = ["examples/sugar.cpp"]
[[example]]
name = "reflection"
source = ["examples/reflection.cpp"]
[[example]]
name = "print"
source = ["examples/print.cpp"]
[[example]]
name = "pointer"
source = ["examples/pointer.cpp"]
#[[example]]
# name = "tuple_sort"
# source = ["examples/tuple_sort.cpp"]
#[[example]]
# name = "sol2_example"
# source = ["examples/sol2.cpp"]
#[[example]]
# name = "simdjson_example"
# source = ["examples/simdjson.cpp"]
[[benchmark]]
name = "benchmark"
source = ["benchmark/benchmark.cpp"]
[[benchmark]]
name = "data_type_benchmark"
source = ["benchmark/data_type_benchmark.cpp"]
[[benchmark]]
name = "syntax_sugar_benchmark"
source = ["benchmark/syntax_benchmark.cpp"]
[[tests]]
name = "unittest"
source = ["tests/.*"]
[dependencies]
nameof = { version="0.10.0", link="public"}
magic_enum = { version= "0.7.3", link="public"}
fmt = {version="8.0.1", link="public", optional=true}
yaml-cpp = { version="0.7.0", link="public", optional=true}
toml11 = { version="3.7.0", link="public", optional=true}
nlohmann_json = { version="3.10.5", link="public", optional=true}
RapidJSON = { version="1.1.1", link="public", optional=true}
benchmark = { version="1.5.2", optional=true}
Catch2 = {version="2.9.1", optional=true}
#pybind11 = "2.9.0"
#hiredis = "git"
#"redis++" = "1.3.2"
#simdjson = {version="0.9.7", link="public"}
#ryml = { version= "0.2.0", link="public", optional=true}
#sol2 = { version="3.2.2"}
#[dev-dependencies]