mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
[bazel] Make publishers for c++ hdr / srcs, and java (#8114)
This commit is contained in:
7
thirdparty/googletest/BUILD.bazel
vendored
7
thirdparty/googletest/BUILD.bazel
vendored
@@ -1,4 +1,5 @@
|
||||
load("//shared/bazel/rules:cc_rules.bzl", "wpilib_cc_library", "wpilib_cc_static_library")
|
||||
load("//shared/bazel/rules:packaging.bzl", "package_minimal_cc_project")
|
||||
|
||||
wpilib_cc_library(
|
||||
name = "googletest",
|
||||
@@ -23,3 +24,9 @@ wpilib_cc_static_library(
|
||||
":googletest",
|
||||
],
|
||||
)
|
||||
|
||||
package_minimal_cc_project(
|
||||
name = "googletest",
|
||||
maven_artifact_name = "googletest-cpp",
|
||||
maven_group_id = "edu.wpi.first.thirdparty.googletest",
|
||||
)
|
||||
|
||||
15
thirdparty/imgui_suite/BUILD.bazel
vendored
15
thirdparty/imgui_suite/BUILD.bazel
vendored
@@ -4,6 +4,7 @@ load("@rules_pkg//:pkg.bzl", "pkg_zip")
|
||||
load("@rules_python//python:defs.bzl", "py_binary")
|
||||
load("//shared/bazel/rules:cc_rules.bzl", "wpilib_cc_library", "wpilib_cc_static_library")
|
||||
load("//shared/bazel/rules:objectivec_rules.bzl", "wpilib_objc_library")
|
||||
load("//shared/bazel/rules:packaging.bzl", "package_minimal_cc_project")
|
||||
|
||||
cc_library(
|
||||
name = "gl3w",
|
||||
@@ -412,7 +413,7 @@ pkg_files(
|
||||
)
|
||||
|
||||
pkg_zip(
|
||||
name = "imgui-suite-hdrs",
|
||||
name = "imgui-hdrs-zip",
|
||||
srcs = [
|
||||
"generated-fonts-hdrs-pkg",
|
||||
"generated-gl3w-hdrs-pkg",
|
||||
@@ -423,7 +424,7 @@ pkg_zip(
|
||||
"//:license_pkg_files",
|
||||
],
|
||||
tags = [
|
||||
"no-remote",
|
||||
"manual",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -464,7 +465,7 @@ pkg_files(
|
||||
)
|
||||
|
||||
pkg_zip(
|
||||
name = "imgui-suite-srcs",
|
||||
name = "imgui-srcs-zip",
|
||||
srcs = [
|
||||
"generated-fonts-srcs-pkg",
|
||||
"generated-gl3w-srcs-pkg",
|
||||
@@ -475,6 +476,12 @@ pkg_zip(
|
||||
"//:license_pkg_files",
|
||||
],
|
||||
tags = [
|
||||
"no-remote",
|
||||
"manual",
|
||||
],
|
||||
)
|
||||
|
||||
package_minimal_cc_project(
|
||||
name = "imgui",
|
||||
maven_artifact_name = "imguiSuite-cpp",
|
||||
maven_group_id = "edu.wpi.first.thirdparty.imguiSuite",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user