mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-08-05 11:06:36 -04:00

Switch //:jsoncpp from using copts ro defines for JSON_USE_EXCEPTION and JSON_HAS_INT64 so that rules that depend on it get the same config. Make src/test_lib_json/fuzz.cpp respect JSON_USE_EXCEPTION.
20 lines
478 B
Python
20 lines
478 B
Python
module(
|
|
name = "jsoncpp",
|
|
|
|
# Note: version must be updated in four places when doing a release. This
|
|
# annoying process ensures that amalgamate, CMake, and meson all report the
|
|
# correct version.
|
|
# 1. /meson.build
|
|
# 2. /include/json/version.h
|
|
# 3. /CMakeLists.txt
|
|
# 4. /MODULE.bazel
|
|
# IMPORTANT: also update the SOVERSION!!
|
|
version = "1.9.7",
|
|
compatibility_level = 1,
|
|
)
|
|
|
|
bazel_dep(
|
|
name = "bazel_skylib",
|
|
version = "1.7.1",
|
|
)
|