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