-
-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathcabin.toml
45 lines (40 loc) · 1.5 KB
/
cabin.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
[package]
authors = ["Ken Matsui <[email protected]>"]
description = "A package manager and build system for C++"
documentation = "https://docs.cabinpkg.com"
edition = "20"
homepage = "https://cabinpkg.com"
license = "Apache-2.0"
name = "cabin"
readme = "README.md"
repository = "https://github.com/cabinpkg/cabin"
version = "0.12.0-dev"
[dependencies]
toml11 = {git = "https://github.com/ToruNiina/toml11.git", rev = "fdd5e29f78eb9e58cc02736f2dc4263ed0058662"}
mitama-cpp-result = {git = "https://github.com/loliGothicK/mitama-cpp-result.git", tag = "v11.0.0"}
fmt = {version = ">=9 && <12", system = true}
libcurl = {version = ">=7.79.1 && <9", system = true}
libgit2 = {version = ">=1.7 && <1.10", system = true}
nlohmann_json = {version = "3.10.5", system = true}
tbb = {version = ">=2021.5.0 && <2023.0.0", system = true}
[profile]
cxxflags = ["-pedantic-errors", "-Wall", "-Wextra", "-Wpedantic", "-fno-rtti"]
[profile.dev]
comp-db = true # always build comp DB on dev
[profile.release]
lto = true
[lint.cpplint]
filters = [
"-build/c++11",
"-build/c++17",
"-build/include_order", # prioritize clang-format
"-build/include_subdir",
"-legal/copyright",
"-readability/braces", # prioritize clang-format
"-readability/nolint", # handle NOLINT comments for clang-tidy
"-readability/todo",
"-runtime/indentation_namespace", # inner namespace should be indented
"-runtime/references", # non-const reference rather than a pointer
"-whitespace",
"+whitespace/ending_newline",
]