Ryan Blue
9d6bee1d1e
[build] cmake: Add meta target for examples and example tests ( #7015 )
...
Also prefix example test targets with Example_ to make running tests easier
2024-08-29 14:03:41 -07:00
PJ Reiniger
f561a77e75
[upstream_utils] Add googletest ( #6820 )
2024-07-18 21:10:26 -07:00
Gold856
72a6d22d9a
[build] Organize cmake files ( #6617 )
2024-05-24 10:48:05 -07:00
Gold856
4fcf0b25a1
[build] Apply a formatter for CMake files ( #5973 )
2023-11-30 16:52:21 -08:00
Zhiquan Yeo
51dcb8b55a
[examples] Make Romi/XRP Examples use appropriate vendordeps ( #5665 )
2023-09-18 19:42:10 -07:00
Tyler Veness
383289bc4b
[build] Make custom CMake macros use lowercase ( #5594 )
...
Most of them already do use lowercase, and uppercase is like screaming
at the user.
2023-08-30 21:17:09 -07:00
Tyler Veness
b74ac1c645
[build] Add apriltag to C++ cmake example builds ( #4944 )
...
This fixes compilation of the apriltag vision example on my machine.
2023-01-13 23:24:14 -08:00
Tyler Veness
f0fa8205ac
Add missing compiler flags and fix warnings ( #4889 )
...
This makes the build fail on warnings. It caught two out-of-bounds reads
and a deprecation warning.
2023-01-01 08:14:19 -08:00
Tyler Veness
6e23985ae6
[examples] Add main include directory to test builds ( #4751 )
...
This fixes the following compilation errors:
```
/home/tav/frc/wpilib/allwpilib/wpilibcExamples/src/main/cpp/examples/UnitTest/cpp/subsystems/Intake.cpp:5:10: fatal error: subsystems/Intake.h: No such file or directory
5 | #include "subsystems/Intake.h"
| ^~~~~~~~~~~~~~~~~~~~~
/home/tav/frc/wpilib/allwpilib/wpilibcExamples/src/test/cpp/examples/UnitTest/cpp/subsystems/IntakeTest.cpp:11:10: fatal error: Constants.h: No such file or directory
11 | #include "Constants.h"
| ^~~~~~~~~~~~~
```
2022-12-02 10:37:49 -08:00
Tyler Veness
99343d40ba
[command] Remove old command-based framework ( #4211 )
2022-05-04 22:02:53 -07:00
Prateek Machiraju
67df469c58
[examples] Remove old command-based templates and examples ( #3263 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2021-10-13 19:17:58 -07:00
Prateek Machiraju
53eda861de
[build] Add unit-testing infrastructure to examples ( #2863 )
...
This also adds CMake capabilities to the command-based libraries as well
as wpilibExamples.
2020-11-26 11:47:35 -08:00