mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
This primarily fixes up the bazel publishing to match the gradle publishing again, as some new libraries were added but not hooked up to the maven publishing. During the process, I noticed that the 3rd party libraries (googletest, catch2, and imgui_suite) were still getting published on the old `edu.wpi` namespace. I tried to clean up all the other references to that that I could. Note: opencv and libssh are handled outside `allwpilib` so they need to be updated separately.
27 lines
756 B
Python
27 lines
756 B
Python
load("//shared/bazel/rules:cc_rules.bzl", "wpilib_cc_library", "wpilib_cc_static_library")
|
|
load("//shared/bazel/rules:packaging.bzl", "package_static_cc_project")
|
|
|
|
wpilib_cc_library(
|
|
name = "catch2",
|
|
srcs = glob(["src/main/native/cpp/**"]),
|
|
hdrs = glob(["src/main/native/include/**"]),
|
|
include_license_files = True,
|
|
includes = ["src/main/native/include"],
|
|
strip_include_prefix = "src/main/native/include",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
wpilib_cc_static_library(
|
|
name = "static/catch2",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
":catch2",
|
|
],
|
|
)
|
|
|
|
package_static_cc_project(
|
|
name = "catch2",
|
|
maven_artifact_name = "catch2-cpp",
|
|
maven_group_id = "org.wpilib.thirdparty.catch2",
|
|
)
|