ulib/3party/jsoncpp/BUILD.bazel
tqcq 585bca14e3
Some checks failed
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 50s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 54s
linux-x64-gcc / linux-gcc (push) Successful in 58s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m5s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m21s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m7s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 46s
feat add jsoncpp
2023-12-26 20:58:36 +08:00

38 lines
930 B
Python

licenses(["unencumbered"]) # Public Domain or MIT
exports_files(["LICENSE"])
cc_library(
name = "jsoncpp",
srcs = [
"src/lib_json/json_reader.cpp",
"src/lib_json/json_tool.h",
"src/lib_json/json_value.cpp",
"src/lib_json/json_writer.cpp",
],
hdrs = [
"include/json/allocator.h",
"include/json/assertions.h",
"include/json/config.h",
"include/json/json_features.h",
"include/json/forwards.h",
"include/json/json.h",
"include/json/reader.h",
"include/json/value.h",
"include/json/version.h",
"include/json/writer.h",
],
copts = [
"-DJSON_USE_EXCEPTION=0",
"-DJSON_HAS_INT64",
],
includes = ["include"],
visibility = ["//visibility:public"],
deps = [":private"],
)
cc_library(
name = "private",
textual_hdrs = ["src/lib_json/json_valueiterator.inl"],
)