File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -120,10 +120,19 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/openarm-can.pc
120120
121121add_executable (motor-check setup/motor_check.cpp)
122122target_link_libraries (motor-check openarm_can)
123+ install (TARGETS motor-check DESTINATION libexec/${PROJECT_NAME} )
123124
124125# Add motor control example executable
125126add_executable (openarm-demo examples/demo.cpp)
126127target_link_libraries (openarm-demo openarm_can)
128+ install (TARGETS openarm-demo DESTINATION libexec/${PROJECT_NAME} )
129+
130+ # Install scripts
131+ install (PROGRAMS setup/change_baudrate.py
132+ setup/configure_socketcan.sh
133+ setup/configure_socketcan_4_arms.sh
134+ setup/set_zero.sh
135+ DESTINATION libexec/${PROJECT_NAME} )
127136
128137# Add tests
129138if (BUILD_TESTING)
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- setup/configure_socketcan.sh usr/libexec/openarm-can
16- setup/set_zero.sh usr/libexec/openarm-can
17- setup/change_baudrate.py usr/libexec/openarm-can
15+ usr/libexec/*
You can’t perform that action at this time.
0 commit comments