mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-06 15:46:35 +01:00
Add bazel build file for toxic.
This commit is contained in:
26
BUILD.bazel
Normal file
26
BUILD.bazel
Normal file
@@ -0,0 +1,26 @@
|
||||
cc_binary(
|
||||
name = "toxic",
|
||||
srcs = glob([
|
||||
"src/*.c",
|
||||
"src/*.h",
|
||||
]),
|
||||
copts = [
|
||||
"-DAUDIO",
|
||||
"-DPACKAGE_DATADIR='\"data\"'",
|
||||
"-DPYTHON",
|
||||
"-DVIDEO",
|
||||
],
|
||||
linkopts = [
|
||||
"-lconfig",
|
||||
"-lncurses",
|
||||
"-lopenal",
|
||||
"-lX11",
|
||||
],
|
||||
deps = [
|
||||
"//c-toxcore",
|
||||
"@curl",
|
||||
"@libqrencode",
|
||||
"@libvpx",
|
||||
"@python3//:python",
|
||||
],
|
||||
)
|
||||
Reference in New Issue
Block a user