Files
wehub-resource-sync 8a852e4b4e
cffconvert / validate (push) Has been skipped
License Check / license-check (push) Failing after 2s
chore: import upstream snapshot with attribution
2026-07-13 12:14:16 +08:00

30 lines
583 B
INI

licenses(["notice"]) # 3-Clause BSD
exports_files(["LICENSE.MIT"])
cc_library(
name = "nlohmann_json_lib",
hdrs = glob([
"include/nlohmann/**/*.hpp",
]),
copts = [
"-I external/nlohmann_json_lib",
],
visibility = ["//visibility:public"],
alwayslink = 1,
)
cc_library(
name = "nlohmann_json",
includes = ["include"],
visibility = ["//visibility:public"],
deps = ["nlohmann_json_lib"],
)
# For compatibility in bzlmod.
alias(
name = "json",
actual = ":nlohmann_json",
visibility = ["//visibility:public"],
)