mirror of
https://github.com/Tencent/flare.git
synced 2026-10-17 04:41:22 +08:00
1d60bd710b
* feat: suppport bazel build * feat(bazel): add rpc plugin * code change * fix comment
25 lines
600 B
INI
25 lines
600 B
INI
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 = glob(["include/json/*.h"]),
|
|
copts = [
|
|
"-DJSON_USE_EXCEPTION=0",
|
|
"-DJSON_HAS_INT64",
|
|
],
|
|
include_prefix = "jsoncpp",
|
|
includes = ["include"],
|
|
strip_include_prefix = "include/json",
|
|
visibility = ["//visibility:public"],
|
|
deps = [":private"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "private",
|
|
textual_hdrs = ["src/lib_json/json_valueiterator.inl"],
|
|
)
|