Skip to content
Snippets Groups Projects

Nico protocols for the ball launcher

Merged Nico Gürtler requested to merge nico into master
All threads resolved!
3 files
+ 30
2
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 4
2
@@ -5,7 +5,8 @@ find_package(Protobuf REQUIRED)
include_directories(${Protobuf_INCLUDE_DIRS})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
protobuf_generate_cpp(PROTO_SRC_CC PROTO_HDR_CC ball_vision.proto frame.proto slpp.proto)
protobuf_generate_cpp(PROTO_SRC_CC PROTO_HDR_CC ball_vision.proto frame.proto
slpp.proto ball_launcher.proto)
add_library(rob_proto SHARED
${PROTO_SRC_CC}
@@ -18,7 +19,8 @@ target_link_libraries(rob_proto
find_program(PYTHON "python")
if (PYTHON)
protobuf_generate_python(PROTO_PY ball_vision.proto frame.proto slpp.proto)
protobuf_generate_python(PROTO_PY ball_vision.proto frame.proto slpp.proto
ball_launcher.proto)
configure_file(setup.py.in setup.py)
add_custom_target(robpy_proto ALL
SOURCES ${PROTO_PY}
Loading