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

summaryrefslogtreecommitdiffhomepage
path: root/third_party/yyjson/BUILD.bazel
blob: 1e27aff5a790a92805334854e7423547cab95978 (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: LGPL-3.0-or-later

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__",
    ],
)