-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
80 lines (74 loc) · 1.25 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
cc_proto_library(
name = "tptp_cc_proto",
deps = ["@tptp_parser//proto:tptp_proto"],
)
cc_library(
name = "prover",
hdrs = [
"mgu.h",
"ground.h",
"types.h",
"alloc.h",
"pred.h",
"pred_format.h",
"log.h",
"kbo.h",
"stack.h",
"parse.h",
"tableau.h",
"eq_axioms.h",
],
deps = [
":tptp_cc_proto",
"//util:util",
"@com_google_protobuf//:protobuf",
],
)
cc_test(
name = "mgu_test",
srcs = ["mgu_test.cc"],
deps = [
":prover",
"//util:util",
"@gtest//:gtest_main",
],
)
cc_test(
name = "pred_test",
srcs = ["pred_test.cc"],
deps = [
":prover",
"@gtest//:gtest_main",
],
)
cc_test(
name = "simple_test",
srcs = ["simple_test.cc"],
data = ["@tptp_test_cnf_proto//:problems"],
copts = ["--std=c++17"],
linkopts = ["-lstdc++fs"],
deps = [
":prover",
"//util:util",
"@gtest//:gtest_main",
],
)
cc_test(
name = "eq_axioms_test",
srcs = ["eq_axioms_test.cc"],
deps = [
":prover",
"//util:util",
"@gtest//:gtest_main",
],
)
cc_binary(
name = "main",
srcs = ["main.cc"],
deps = [
":prover",
"@abseil//absl/flags:flag",
"@abseil//absl/flags:parse",
],
visibility = ["//visibility:public"],
)