2020-03-12 20:20:54 +08:00
|
|
|
load("@rules_cc//cc:defs.bzl", "cc_binary")
|
|
|
|
|
2022-01-11 21:15:33 +08:00
|
|
|
#cc_binary(
|
|
|
|
# name = "cracker",
|
|
|
|
# srcs = ["cracker.c"],
|
|
|
|
# copts = ["-fopenmp"],
|
|
|
|
# linkopts = ["-fopenmp"],
|
|
|
|
# deps = [
|
|
|
|
# "//c-toxcore/toxcore:ccompat",
|
|
|
|
# "@libsodium",
|
|
|
|
# ],
|
|
|
|
#)
|
2021-12-17 04:35:30 +08:00
|
|
|
|
|
|
|
cc_binary(
|
|
|
|
name = "cracker_simple",
|
|
|
|
srcs = ["cracker_simple.c"],
|
2018-01-21 09:05:23 +08:00
|
|
|
deps = [
|
|
|
|
"//c-toxcore/testing:misc_tools",
|
|
|
|
"@libsodium",
|
|
|
|
],
|
|
|
|
)
|
2020-04-20 08:16:33 +08:00
|
|
|
|
2020-03-24 08:28:19 +08:00
|
|
|
cc_binary(
|
|
|
|
name = "minimal-save-generator",
|
|
|
|
srcs = ["minimal-save-generator.c"],
|
|
|
|
deps = [
|
|
|
|
"@libsodium",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2018-01-21 09:05:23 +08:00
|
|
|
cc_binary(
|
|
|
|
name = "sign",
|
|
|
|
srcs = ["sign.c"],
|
2018-02-02 23:37:19 +08:00
|
|
|
copts = ["-w"],
|
2018-01-21 09:05:23 +08:00
|
|
|
deps = [
|
|
|
|
"//c-toxcore/testing:misc_tools",
|
|
|
|
"@libsodium",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
cc_binary(
|
|
|
|
name = "strkey",
|
|
|
|
srcs = ["strkey.c"],
|
2018-02-02 23:37:19 +08:00
|
|
|
copts = ["-w"],
|
2018-01-21 09:05:23 +08:00
|
|
|
deps = [
|
|
|
|
"@libsodium",
|
|
|
|
],
|
|
|
|
)
|
2018-08-05 04:56:01 +08:00
|
|
|
|
|
|
|
cc_binary(
|
|
|
|
name = "save-generator",
|
|
|
|
srcs = ["save-generator.c"],
|
|
|
|
deps = [
|
|
|
|
"//c-toxcore/testing:misc_tools",
|
|
|
|
"//c-toxcore/toxcore",
|
|
|
|
],
|
|
|
|
)
|