Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/third_party/yyjson/BUILD.bazel
blob: 6b791e0d892c2e1b8b0fad0d561907366d389c1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright (c) 2026 Progmasoft.
# SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-2.0

load("@rules_cc//cc:defs.bzl", "cc_library")

# yyjson (MIT), the JSON reader and writer of the runner.
# The version is pinned in MODULE.bazel. Catch3
# compiles the library into one of its own translation units with
# internal linkage, so this target only provides the files.
cc_library(
    name = "yyjson",
    hdrs = ["yyjson.h"],
    includes = ["."],
    textual_hdrs = ["yyjson.c"],
    visibility = [
        "//src/Progmasoft:__pkg__",
        "//tools:__pkg__",
    ],
)