xref: /freebsd/contrib/libcbor/examples/bazel/third_party/libcbor.BUILD (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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