-
-
Notifications
You must be signed in to change notification settings - Fork 72
/
poac.toml
83 lines (69 loc) · 2.57 KB
/
poac.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
[package]
name = "poac"
version = "0.5.1"
edition = 2020
authors = ["Ken Matsui <[email protected]>"]
license = "Apache-2.0"
homepage = "https://poac.pm"
repository = "https://github.com/poacpm/poac"
description = "Package Manager for C++"
[dependencies]
"ken-matsui/termcolor2" = ">=0.1.0 and <1.0.0"
#"ken-matsui/semver" = ">=0.1.0 and <1.0.0"
#"ken-matsui/git2-cpp" = ">=0.1.0 and <1.0.0"
#"ken-matsui/tar-cpp" = ">=0.1.0 and <1.0.0"
#"ken-matsui/url-cpp" = ">=0.1.0 and <1.0.0"
"boost/predef" = ">=1.64.0 and <2.0.0"
#"boost/property_tree" = ">=1.64.0 and <2.0.0"
#"boost/range" = ">=1.64.0 and <2.0.0"
#"boost/algorithm" = ">=1.64.0 and <2.0.0"
#"boost/foreach" = ">=1.64.0 and <2.0.0"
#"boost/dynamic_bitset" = ">=1.64.0 and <2.0.0"
#"boost/beast" = ">=1.64.0 and <2.0.0"
#"ToruNiina/toml11" = ">=3.0.0 and <4.0.0"
#[dev-dependencies]
#"boost/test" = ">=1.64.0 and <2.0.0"
[target.'cfg(os = "linux")'.profile]
definitions = ["_GNU_SOURCE", "BOOST_ASIO_HAS_STD_STRING_VIEW"]
[target.'cfg(os = "unix")'.profile]
options = ["-fdiagnostics-color", "-Wall", "-Wextra", "-pthread"]
libraries = ["dl", "ssl", "crypt"]
[target.'cfg(os = "macos")'.profile]
include-directories = ["/usr/local/opt/openssl/include"]
link-directories = ["/usr/local/opt/openssl/lib"]
[target.'cfg(compiler = "msvc")'.profile]
definitions = ["BOOST_ASIO_HAS_STD_STRING_VIEW"]
options = ["/W4", "/bigobj"]
[target.'cfg(any(os = "cygwin", platform = "mingw"))'.profile]
options = ["-Wa,-mbig-obj"]
[target.'cfg(os = "windows")'.profile]
libraries = ["bcrypt", "ws2_32"]
[target.'cfg(os = "unix")'.profile.dev]
options = ["-fsanitize=address"]
[target.'cfg(os = "macos")'.profile.release]
options = ["-mtune=native", "-march=native"]
[target.'cfg(all(os = "macos", os_version < "10.15"))'.profile]
compiler = "/usr/local/opt/llvm@7/bin/clang++"
include-directories = ["/usr/local/opt/llvm@7/include"]
link-directories = ["/usr/local/opt/llvm@7/lib"]
[profile]
libraries = ["boost_sysytem", "git2"]
[profile.release]
lto = true
[lint.cpplint]
filters = [
"-legal/copyright",
"-whitespace",
"+whitespace/ending_newline",
"-build/c++11",
"-build/namespaces_literals",
# Didn't work correctly with inline namespaces
# `namespace termcolor2::inline color_literals::inline foreground_literals`
# suggested to `namespace termcolor2::inline`
"-readability/namespace",
# Unknown NOLINT error category: bugprone-branch-clone
# This is for clang-tidy
"-readability/nolint",
# I believe non-const reference would be much better than a pointer.
"-runtime/references",
]