Skip to content

Commit

Permalink
Replace source listing with cat of protobuf source
Browse files Browse the repository at this point in the history
  • Loading branch information
KangarooKoala committed Dec 28, 2023
1 parent b7dd604 commit 10242fc
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions wpimath/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -217,18 +217,11 @@ else()
)
endif()

get_target_property(wpimath_sources wpimath SOURCES)
message("wpimath sources:")
foreach(wpimath_source ${wpimath_sources})
message(" ${wpimath_source}")
endforeach()

get_target_property(wpimath_interface_sources wpimath INTERFACE_SOURCES)
message("wpimath interface sources: '${wpimath_interface_sources}'")
message("wpimath interface sources:")
foreach(wpimath_interface_source ${wpimath_interface_sources})
message(" ${wpimath_interface_source}")
endforeach()
add_custom_command(
TARGET wpimath
PRE_LINK
COMMAND cat ${CMAKE_CURRENT_BINARY_DIR}/protobuf/controller.pb.cc
)

set_property(TARGET wpimath PROPERTY FOLDER "libraries")
target_compile_definitions(wpimath PRIVATE WPILIB_EXPORTS)
Expand Down

0 comments on commit 10242fc

Please sign in to comment.