greenhouse/yolov3/CMakeLists.txt

46 lines
1.1 KiB
CMake
Raw Normal View History

2023-03-21 12:04:27 +05:30
cmake_minimum_required(VERSION 3.5)
project(yolov3_msg)
2023-03-21 12:04:27 +05:30
# Find dependencies
#find_package(ament_cmake REQUIRED)
find_package(rclpy REQUIRED)
find_package(std_msgs REQUIRED)
# Create the executable
#add_executable(yolov3_msg yolov3_msg.py)
2023-03-21 12:04:27 +05:30
# Set the permissions of the Python script to be executable
find_package(rosidl_default_generators REQUIRED)
rosidl_generate_interfaces(yolov3_msg
2023-03-21 12:04:27 +05:30
"msg/BoundingBox.msg"
"msg/BoundingBoxes.msg"
DEPENDENCIES builtin_interfaces std_msgs
)
# Link the executable with the necessary libraries
#ament_target_dependencies(yolov3_msg rclpy)
2023-03-21 12:04:27 +05:30
# Install the executable
#install(TARGETS yolov3_msg DESTINATION lib/yolov3_msg)
2023-03-21 12:04:27 +05:30
# Install the script, setup.py, and package.xml files
#install(PROGRAMS yolov3_msg.py
2023-03-21 12:04:27 +05:30
# DESTINATION lib/yolov3_on_bag)
#install(FILES package.xml
# DESTINATION share/yolov3_on_bag)
# Export the package dependencies
#ament_export_dependencies(rclpy)
# Package information
#ament_package()
#add_executable(yolov3_msg yolov3_msg.py)
2023-03-21 12:04:27 +05:30
ament_export_dependencies(rosidl_default_runtime)
ament_package()