blob: 6fda23b3b5024e35d434e006ac642395b57ec339 [file]
diff --git a/BUILD.bazel b/BUILD.bazel
index 6d7ac3d..b043ace 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -1,3 +1,5 @@
+load("@rules_cc//cc:cc_library.bzl", "cc_library")
+
licenses(["unencumbered"]) # Public Domain or MIT
exports_files(["LICENSE"])
@@ -14,9 +16,9 @@ cc_library(
"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/json_features.h",
"include/json/reader.h",
"include/json/value.h",
"include/json/version.h",
diff --git a/MODULE.bazel b/MODULE.bazel
new file mode 100644
index 0000000..7f480fb
--- /dev/null
+++ b/MODULE.bazel
@@ -0,0 +1,7 @@
+module(
+ name = "jsoncpp",
+ version = "1.9.6.bcr.1",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "rules_cc", version = "0.0.17")