toxcore/third_party/BUILD.bazel
iphydf 89b6450d66
test: Add check-c run to bazel build.
Makes iterating on both check-c and the toxcore code easier.
2023-12-15 23:09:24 +00:00

16 lines
326 B
Python

load("//tools:no_undefined.bzl", "cc_library")
cc_library(
name = "cmp",
srcs = ["cmp/cmp.c"],
hdrs = ["cmp/cmp.h"],
copts = ["-DCMP_NO_FLOAT"],
visibility = ["//c-toxcore:__subpackages__"],
)
filegroup(
name = "headers",
srcs = ["cmp/cmp.h"],
visibility = ["//c-toxcore:__subpackages__"],
)