cmvr-es/cmvr-es/devices/motor/manager/CMakeLists.txt
xtkuang 28f1dd1bf8 feat: add gRPC motor control over Modbus TCP
Add synchronous and streaming MotorService APIs backed by the PLC Modbus TCP runtime and protocol driver. Extend AUBO JSON commands and isolate vendor libstdc++ paths while keeping build-tree tests runnable.
2026-07-30 15:09:07 +08:00

23 lines
666 B
CMake

add_library(motor_manager SHARED
src/motor_manager.cpp
)
target_include_directories(motor_manager PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(motor_manager
PUBLIC
cmvr_es::proto
cmvr_es::device::motor_core
cmvr_es::device::motor_bus_runtime
PRIVATE
cmvr_es::device::ti5_canopen_motor_driver
cmvr_es::device::mujoco_motor_driver
cmvr_es::device::ethercat_motor_driver
cmvr_es::device::modbus_plc_motor_driver
cmvr_es::ik_solver
glog
)
add_library(cmvr_es::device::motor_manager ALIAS motor_manager)
install(TARGETS motor_manager LIBRARY DESTINATION lib)