Skip to content

Commit

Permalink
darts-clone.
Browse files Browse the repository at this point in the history
  • Loading branch information
BYVoid committed Jul 15, 2024
1 parent a0e48ff commit 0b8535c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ module(
compatibility_level = 1,
)

bazel_dep(name = "darts-clone", version = "0.32")
bazel_dep(name = "googletest", version = "1.14.0.bcr.1")
2 changes: 2 additions & 0 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions src/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,29 @@ cc_library(
],
)

cc_library(
name = "darts_dict",
srcs = ["DartsDict.cpp"],
hdrs = ["DartsDict.hpp"],
deps = [
":binary_dict",
":common",
":lexicon",
":serializable_dict",
"@darts-clone"
],
)

cc_test(
name = "darts_dict_test",
srcs = ["DartsDictTest.cpp"],
deps = [
":darts_dict",
":text_dict_test_base",
"@googletest//:gtest_main",
],
)

cc_library(
name = "dict",
srcs = ["Dict.cpp"],
Expand Down

0 comments on commit 0b8535c

Please sign in to comment.