Merge 94f152714bc467042e2e8545b0c51c1a5c3675de into ca98c98457b1163cca1f7d8db62827c115fec6d1

This commit is contained in:
Jordan Bayles 2025-03-18 17:05:45 -07:00 committed by GitHub
commit e21bded0d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,10 +22,6 @@ cc_library(
"include/json/version.h",
"include/json/writer.h",
],
copts = [
"-DJSON_USE_EXCEPTION=0",
"-DJSON_HAS_INT64",
],
includes = ["include"],
visibility = ["//visibility:public"],
deps = [":private"],
@ -35,3 +31,22 @@ cc_library(
name = "private",
textual_hdrs = ["src/lib_json/json_valueiterator.inl"],
)
cc_binary(
name = "jsontestrunner",
srcs = ["src/jsontestrunner/main.cpp"],
includes = ["include"],
deps = [":jsoncpp"],
)
cc_binary(
name = "jsoncpp_test",
srcs = [
"src/test_lib_json/jsontest.cpp",
"src/test_lib_json/jsontest.h",
"src/test_lib_json/main.cpp",
"src/test_lib_json/fuzz.h",
"src/test_lib_json/fuzz.cpp",
],
deps = [":jsoncpp"],
)