Downgrade jsoncpp for CMake usage (#10751)
* Downgrade jsoncpp for CMake usage * Downgrade Bazel to 1.9.4pull/10757/head
parent
5308cf0aa6
commit
7e0333bb28
3 changed files with 43 additions and 5 deletions
@ -1 +1 @@ |
||||
Subproject commit 5defb4ed1a4293b8e2bf641e16b156fb9de498cc |
||||
Subproject commit 9059f5cad030ba11d37818847443a53918c327b1 |
@ -0,0 +1,37 @@ |
||||
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"], |
||||
) |
Loading…
Reference in new issue