Mercurial
diff deita/BUILD @ 75:ae6a88e6e484
[Deita] Simple DB connection lib.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 31 Dec 2025 11:20:08 -0800 |
| parents | |
| children | f3084bca7317 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deita/BUILD Wed Dec 31 11:20:08 2025 -0800 @@ -0,0 +1,26 @@ +load("@rules_cc//cc:cc_library.bzl", "cc_library") +load("@rules_cc//cc:cc_test.bzl", "cc_test") + +cc_library( + name = "deita", + srcs = [ + "d_connection.c", + "d_query.c", + "d_sqlite.c", + ], + hdrs = [ + "deita.h", + "deita_internal.h", + ], + deps = [ + "//dowa:dowa", + ], + linkopts = ["-lsqlite3"], + visibility = ["//visibility:public"], +) + +cc_test( + name = "deita_test", + srcs = ["deita_test.c"], + deps = [":deita"], +)