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