cmvr-es/cmvr-es/devices/motor/manager/CMakeLists.txt

22 lines
617 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::ik_solver
glog
)
add_library(cmvr_es::device::motor_manager ALIAS motor_manager)
install(TARGETS motor_manager LIBRARY DESTINATION lib)