1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-15 03:23:02 +01:00
toxic/BUILD.bazel

32 lines
587 B
Python
Raw Normal View History

load("@rules_cc//cc:defs.bzl", "cc_binary")
load("//tools/project:build_defs.bzl", "project")
project()
2018-01-20 20:04:27 +01:00
cc_binary(
name = "toxic",
srcs = glob([
"src/*.c",
"src/*.h",
]),
copts = [
"-DAUDIO",
"-DPACKAGE_DATADIR='\"data\"'",
"-DPYTHON",
"-DQRCODE",
2018-01-20 20:04:27 +01:00
"-DVIDEO",
"-Wno-error=unused-result",
2018-01-20 20:04:27 +01:00
],
deps = [
"//c-toxcore",
"@curl",
"@libconfig",
2018-01-20 20:04:27 +01:00
"@libqrencode",
"@libvpx",
"@ncurses",
"@openal",
2018-01-20 20:04:27 +01:00
"@python3//:python",
"@x11",
2018-01-20 20:04:27 +01:00
],
)