forked from Box-Robotics/ros2_numpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
26 lines (21 loc) · 786 Bytes
/
CMakeLists.txt
File metadata and controls
26 lines (21 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
cmake_minimum_required(VERSION 3.5)
project(ros2_numpy)
find_package(ament_cmake REQUIRED)
find_package(ament_cmake_python REQUIRED)
find_package(sensor_msgs REQUIRED)
find_package(nav_msgs REQUIRED)
find_package(geometry_msgs REQUIRED)
ament_python_install_package(${PROJECT_NAME})
if(BUILD_TESTING)
find_package(rclpy REQUIRED)
find_package(ament_cmake_nose REQUIRED)
ament_add_nose_test(pointclouds test/test_pointclouds.py)
ament_add_nose_test(images test/test_images.py)
ament_add_nose_test(occupancygrids test/test_occupancygrids.py)
ament_add_nose_test(geometry test/test_geometry.py)
ament_add_nose_test(quaternions test/test_quat.py)
endif()
##############
ament_export_dependencies(ament_cmake)
ament_export_dependencies(ament_cmake_python)
ament_package()