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 = "cimple_files",
    srcs = [
        "cmp/cmp.c",
        "cmp/cmp.h",
    ],
    visibility = ["//c-toxcore:__subpackages__"],
)
