From 22f3e23cb336930136ac2ba843ed61734eb399dc Mon Sep 17 00:00:00 2001 From: takase Date: Tue, 28 May 2024 19:19:26 +0900 Subject: [PATCH] add install to cmakelists --- CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c095990..bd54a5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,3 +9,20 @@ find_package(catkin REQUIRED COMPONENTS catkin_python_setup() catkin_package(CATKIN_DEPENDS message_runtime ) + +#python script +catkin_install_python(PROGRAMS + src/ros_tcp_endpoint/__init__.py + src/ros_tcp_endpoint/client.py + src/ros_tcp_endpoint/server.py + src/ros_tcp_endpoint/communication.py + src/ros_tcp_endpoint/default_server_endpoint.py + src/ros_tcp_endpoint/exceptions.py + src/ros_tcp_endpoint/publisher.py + src/ros_tcp_endpoint/subscriber.py + src/ros_tcp_endpoint/tcp_sender.py + src/ros_tcp_endpoint/service.py + src/ros_tcp_endpoint/unity_service.py + src/ros_tcp_endpoint/thread_pauser.py + + DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})