mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-11-13 07:02:20 -05:00
* Expose JSON_USE_EXCEPTION and JSON_HAS_INT64 as Bazel config flags with defaults that match the existing Bazel build. 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. * #ifdef stuff that should only be used with JSON_USE_EXCEPTION. --------- Co-authored-by: Jordan Bayles <bayles.jordan@gmail.com>
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",
|
|
)
|