blob: 18e811fead846bc8c8a6d64910bc4368dc07a5be [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(
James Kuszmaulcd622d52023-11-22 20:44:04 -080011 name = "libnirio_emb_can.so.23",
Austin Schuh9950f682021-11-06 15:27:58 -070012 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",
James Kuszmaulcd622d52023-11-22 20:44:04 -080023 "libnirio_emb_can.so.23",
24 "src/lib/chipobject/libRoboRIO_FRC_ChipObject.so.24.0.0",
25 "src/lib/netcomm/libFRC_NetworkCommunication.so.24.0.0",
26 "src/lib/visa/libvisa.so.23.3.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)