mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[bazel] Simple shared library implementation (#8044)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_test")
|
||||
load("@rules_java//java:defs.bzl", "java_binary", "java_library")
|
||||
load("//shared/bazel/rules:cc_rules.bzl", "wpilib_cc_library", "wpilib_cc_static_library")
|
||||
load("//shared/bazel/rules:cc_rules.bzl", "wpilib_cc_library", "wpilib_cc_shared_library", "wpilib_cc_static_library")
|
||||
|
||||
wpilib_cc_library(
|
||||
name = "romiVendordep",
|
||||
@@ -17,6 +17,21 @@ wpilib_cc_library(
|
||||
],
|
||||
)
|
||||
|
||||
wpilib_cc_shared_library(
|
||||
name = "shared/romiVendordep",
|
||||
dynamic_deps = [
|
||||
"//hal:shared/wpiHal",
|
||||
"//ntcore:shared/ntcore",
|
||||
"//wpilibc:shared/wpilibc",
|
||||
"//wpinet:shared/wpinet",
|
||||
"//wpiutil:shared/wpiutil",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":romiVendordep",
|
||||
],
|
||||
)
|
||||
|
||||
wpilib_cc_static_library(
|
||||
name = "static/romiVendordep",
|
||||
static_deps = [
|
||||
|
||||
Reference in New Issue
Block a user