load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library") cc_library( name = "binlog", srcs = glob(["include/**/*.cpp"]), hdrs = glob(["include/**/*.hpp"]), includes = ["include"], visibility = ["//visibility:public"], ) cc_binary( name = "bread", srcs = [ "bin/bread.cpp", "bin/getopt.hpp", "bin/printers.cpp", "bin/printers.hpp", ], deps = [":binlog"], ) cc_binary( name = "brecovery", srcs = [ "bin/brecovery.cpp", "bin/getopt.hpp", ], deps = [":binlog"], )