Skip to content

Commit

Permalink
Print plant.pb.cc and plant.pb.h
Browse files Browse the repository at this point in the history
  • Loading branch information
KangarooKoala committed Dec 28, 2023
1 parent 10242fc commit 609894f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion wpimath/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,12 @@ endif()
add_custom_command(
TARGET wpimath
PRE_LINK
COMMAND cat ${CMAKE_CURRENT_BINARY_DIR}/protobuf/controller.pb.cc
COMMAND echo 'plant.pb.cc:'
COMMAND cat ${CMAKE_CURRENT_BINARY_DIR}/protobuf/plant.pb.cc
COMMAND echo
COMMAND echo 'plant.pb.h:'
COMMAND cat ${CMAKE_CURRENT_BINARY_DIR}/protobuf/plant.pb.h
VERBATIM
)

set_property(TARGET wpimath PROPERTY FOLDER "libraries")
Expand Down

0 comments on commit 609894f

Please sign in to comment.