44 lines
920 B
TOML
44 lines
920 B
TOML
[build]
|
|
type = "cmake"
|
|
|
|
[build.flags]
|
|
build_dir = "build"
|
|
configure = [
|
|
"-DSPDLOG_BUILD_BENCH=OFF",
|
|
"-DSPDLOG_FMT_EXTERNAL=ON",
|
|
"-G Ninja",
|
|
"-DSPDLOG_BUILD_SHARED=ON",
|
|
"-DSPDLOG_BUILD_TESTS=ON",
|
|
"-Wno-dev",
|
|
]
|
|
skip_tests = true # weird utc hardcoded
|
|
|
|
[dependencies]
|
|
build = [
|
|
"cmake",
|
|
"catch2",
|
|
"ninja"
|
|
]
|
|
runtime = [
|
|
"glibc",
|
|
"fmt",
|
|
"libcxx",
|
|
"libunwind",
|
|
]
|
|
|
|
[[manual_sources]]
|
|
file = "spdlog-fmt-external.patch"
|
|
sha256 = "b2:686be3f61e4c578c53660e0bad6afe1918472f5b46322f207d3fde2cca3a3bc480c10891eeaa7b85e3c4d3370c43a6da85376a93eea411333a1147eb853bddc8"
|
|
|
|
[package]
|
|
description = "Very fast, header-only/compiled, C++ logging library"
|
|
homepage = "https://github.com/gabime/spdlog"
|
|
license = "MIT"
|
|
name = "spdlog"
|
|
version = "1.17.0"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
url = "https://github.com/gabime/spdlog#v$version"
|
|
patches = [ "spdlog-fmt-external.patch" ]
|