[build] Make Protobuf optional in CMake build (#7061)

This commit is contained in:
Tyler Veness
2024-09-12 23:44:19 -07:00
committed by GitHub
parent b9409a4bcf
commit d44b651558
77 changed files with 168 additions and 73 deletions

View File

@@ -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 {

View File

@@ -9,8 +9,6 @@
#include <Eigen/Core>
#include <wpi/json.h>
#include "geometry3d.pb.h"
using namespace frc;
namespace {

View File

@@ -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"

View File

@@ -8,7 +8,6 @@
#include <wpi/json.h>
#include "geometry2d.pb.h"
#include "units/math.h"
using namespace frc;

View File

@@ -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"

View File

@@ -5,7 +5,6 @@
#include "frc/geometry/Transform2d.h"
#include "frc/geometry/Pose2d.h"
#include "geometry2d.pb.h"
using namespace frc;

View File

@@ -6,7 +6,6 @@
#include <wpi/json.h>
#include "geometry2d.pb.h"
#include "units/math.h"
using namespace frc;

View File

@@ -6,7 +6,6 @@
#include <wpi/json.h>
#include "geometry3d.pb.h"
#include "units/length.h"
#include "units/math.h"