blob: 571f80f91d391a3142ded5f6c5b911764cd96482 [file] [log] [blame]
Austin Schuh9950f682021-11-06 15:27:58 -07001cc_binary(
2 name = "libNiFpgaLv.so.13",
3 srcs = [
4 "src/shims/fpgalv/main.c",
5 ],
6 linkshared = True,
7 linkstatic = False,
8)
9
10cc_binary(
11 name = "libnirio_emb_can.so.21",
12 srcs = [
13 "src/shims/embcan/main.c",
14 ],
15 linkshared = True,
16 linkstatic = False,
17)
18
Brian Silverman82a12b92019-01-19 21:52:10 -080019cc_library(
20 name = "ni-libraries",
21 srcs = [
Austin Schuh9950f682021-11-06 15:27:58 -070022 "libNiFpgaLv.so.13",
23 "libnirio_emb_can.so.21",
24 "src/lib/chipobject/libRoboRIO_FRC_ChipObject.so.22.0.0",
25 "src/lib/netcomm/libFRC_NetworkCommunication.so.22.0.0",
26 "src/lib/visa/libvisa.so.21.0.0",
Brian Silverman82a12b92019-01-19 21:52:10 -080027 ],
28 hdrs = glob(["src/include/**"]),
29 includes = [
30 "src/include",
31 ],
James Kuszmaul02eb05e2019-12-22 12:32:18 -080032 linkopts = ["-ldl"],
Brian Silverman82a12b92019-01-19 21:52:10 -080033 linkstatic = True,
Philipp Schraderdada1072020-11-24 11:34:46 -080034 target_compatible_with = ["@//tools/platforms/hardware:roborio"],
Brian Silverman82a12b92019-01-19 21:52:10 -080035 visibility = ["//visibility:public"],
36)