xref: /freebsd/contrib/libcbor/examples/bazel/third_party/libcbor.BUILD (revision 5d3e7166f6a0187fa3f8831b16a06bd9955c21ff)
1cc_library(
2    name = "cbor",
3    srcs = glob([
4        "src/**/*.h",
5        "src/**/*.c",
6    ]),
7    hdrs = [
8        "cbor.h",
9    ] + glob([
10        "cbor/*.h",
11    ]),
12    includes = [
13        "src",
14        "src/cbor",
15        "src/cbor/internal",
16    ],
17    visibility = ["//visibility:public"],
18    deps = [
19        "@libcbor_bazel_example//third_party/libcbor:config",
20    ],
21)
22