BUILD.spdlog 532 B

123456789101112131415161718192021222324
  1. COPTS = ["-DSPDLOG_COMPILED_LIB"]
  2. cc_library(
  3. name = "spdlog",
  4. srcs = glob([
  5. "src/*.cpp",
  6. ]),
  7. hdrs = glob([
  8. "include/spdlog/*.h",
  9. "include/spdlog/cfg/*.h",
  10. "include/spdlog/details/*.h",
  11. "include/spdlog/fmt/*.h",
  12. "include/spdlog/fmt/bundled/*.h",
  13. "include/spdlog/sinks/*.h",
  14. ]),
  15. includes = [
  16. ".",
  17. "include/",
  18. ],
  19. strip_include_prefix = 'include',
  20. copts = COPTS,
  21. deps = [
  22. ],
  23. visibility = ["//visibility:public"],
  24. )