27 lines
483 B
TOML
27 lines
483 B
TOML
[build]
|
|
type = "cmake"
|
|
|
|
[build.flags]
|
|
build_dir = "build"
|
|
configure = [
|
|
"-DBUILD_TESTING=ON",
|
|
"-DCMAKE_INSTALL_LIBDIR=/usr/lib",
|
|
"-DJSON_MultipleHeaders=ON",
|
|
"-Wno-dev",
|
|
]
|
|
|
|
[dependencies]
|
|
build = ["cmake"]
|
|
|
|
[package]
|
|
description = "JSON for Modern C++"
|
|
homepage = "https://github.com/nlohmann/json"
|
|
license = "MIT"
|
|
name = "nlohmann-json"
|
|
version = "3.12.0"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
url = "https://github.com/nlohmann/json#v$version"
|
|
sha256 = "skip"
|