Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added rosidl_runtime c and cpp depencencies #100

Merged
merged 10 commits into from
Apr 10, 2020
6 changes: 5 additions & 1 deletion rosidl_generator_py/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if(BUILD_TESTING)

find_package(rmw REQUIRED)
find_package(rosidl_cmake REQUIRED)
find_package(rosidl_generator_c REQUIRED)
find_package(rosidl_runtime_c REQUIRED)

find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
Expand All @@ -27,6 +27,10 @@ if(BUILD_TESTING)
include(cmake/register_py.cmake)
include(cmake/rosidl_generator_py_get_typesupports.cmake)

include_directories(include
${rosidl_runtime_c_INCLUDE_DIRS}
dirk-thomas marked this conversation as resolved.
Show resolved Hide resolved
)

# Trick ament_target_dependencies() into thinking this package has been found
set(rosidl_generator_py_FOUND "1")
set(rosidl_generator_py_DIR "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
Expand Down
4 changes: 1 addition & 3 deletions rosidl_generator_py/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@
<buildtool_export_depend>rosidl_typesupport_c</buildtool_export_depend>
<buildtool_export_depend>rosidl_typesupport_interface</buildtool_export_depend>


<exec_depend>python3-numpy</exec_depend>
<exec_depend>rmw_implementation</exec_depend>
<exec_depend>rmw_implementation_cmake</exec_depend>
<exec_depend>rosidl_generator_c</exec_depend>
ahcorde marked this conversation as resolved.
Show resolved Hide resolved
dirk-thomas marked this conversation as resolved.
Show resolved Hide resolved
<exec_depend>rosidl_parser</exec_depend>

<test_depend>ament_cmake_pytest</test_depend>
Expand All @@ -38,10 +36,10 @@
<test_depend>rmw_implementation</test_depend>
<test_depend>rmw_implementation_cmake</test_depend>
<test_depend>rosidl_cmake</test_depend>
<test_depend>rosidl_generator_c</test_depend>
<test_depend>rosidl_parser</test_depend>
<test_depend>rosidl_typesupport_c</test_depend>
<test_depend>test_interface_files</test_depend>
<test_depend>rosidl_runtime_c</test_depend>

<member_of_group>rosidl_generator_packages</member_of_group>

Expand Down