mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[build] Make Protobuf optional in CMake build (#7061)
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
|
||||
#include <sleipnir/optimization/OptimizationProblem.hpp>
|
||||
|
||||
#include "geometry2d.pb.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
units::meter_t Ellipse2d::Distance(const Translation2d& point) const {
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
#include <Eigen/Core>
|
||||
#include <wpi/json.h>
|
||||
|
||||
#include "geometry3d.pb.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
// Copyright (c) FIRST and other WPILib contributors.
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "frc/geometry/Rectangle2d.h"
|
||||
|
||||
#include "geometry2d.pb.h"
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
#include <wpi/json.h>
|
||||
|
||||
#include "geometry2d.pb.h"
|
||||
#include "units/math.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <wpi/json.h>
|
||||
|
||||
#include "frc/fmt/Eigen.h"
|
||||
#include "geometry3d.pb.h"
|
||||
#include "units/math.h"
|
||||
#include "wpimath/MathShared.h"
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#include "frc/geometry/Transform2d.h"
|
||||
|
||||
#include "frc/geometry/Pose2d.h"
|
||||
#include "geometry2d.pb.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#include <wpi/json.h>
|
||||
|
||||
#include "geometry2d.pb.h"
|
||||
#include "units/math.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#include <wpi/json.h>
|
||||
|
||||
#include "geometry3d.pb.h"
|
||||
#include "units/length.h"
|
||||
#include "units/math.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user