-
Notifications
You must be signed in to change notification settings - Fork 144
Splitted rosidl_generator_c and rosidl_generator_cpp in two: rosidl_generator_x and rosidl_runtime_x #442
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
Merged
Merged
Splitted rosidl_generator_c and rosidl_generator_cpp in two: rosidl_generator_x and rosidl_runtime_x #442
Changes from 20 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
62e751c
Splitted rosidl_generator_c and rosidl_generator_cpp in two: rosidl_g…
ahcorde 1dbf818
added comments
ahcorde aa4a84b
rosidl_runtime_cpp removed rosidl_parser dependency
ahcorde 8c1a936
removed c++ flags
ahcorde 6433657
included more feedback
ahcorde 83e4392
Restoring rosidl_typesupport_interface in the package.xml
ahcorde f7f14d0
rosidl_typesupport_interface from build_depend to build_export_depend
ahcorde c76cd28
Restored tabs
ahcorde c069663
rosidl_generator_c including headers in CMakeLists.txt
ahcorde 27d8100
Fixed rosidl_generator_cpp cmakelists
ahcorde 4932d51
Exported the right rosidl_generator and rosidl_runtime
ahcorde 015ab19
replaced include_directories for target_include_directories
ahcorde ba8bae2
moved rosidl_generator_x dependencies from build_depend to test_depend
ahcorde c230574
Merge branch 'master' into ahcorde/feature/splitted_rosidl_generator
ahcorde 3a07f57
Removed member_of_group rosidl_runtime_packages from rosidl_generator_c
ahcorde 5cf19e6
changed target_include_libraries and directory for ament_target_depen…
ahcorde 280ec24
restored add dependency in rosidl_generator_cpp
ahcorde 3db20b0
Removed rosidl_generator_x from rosidl_typesupport_introspection_x
ahcorde 58bf887
Removed comments
ahcorde e3fe878
Restored C standard and compiler flags
ahcorde 38c6125
Merge remote-tracking branch 'origin/master' into ahcorde/feature/spl…
ahcorde 52a3709
keep the originally used dependency type
ahcorde 132d521
Fixed rosidl_runtime_c cmakelists.txt
ahcorde 144e392
Removed ament_export_dependencies rosidl_cmake
ahcorde 009831f
Merge remote-tracking branch 'origin/master' into ahcorde/feature/spl…
ahcorde ed42d18
fixed test_msg_builder directories
ahcorde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,10 +7,9 @@ | |
| <maintainer email="[email protected]">William Woodall</maintainer> | ||
| <license>Apache License 2.0</license> | ||
|
|
||
| <buildtool_depend>ament_cmake_python</buildtool_depend> | ||
| <buildtool_depend>ament_cmake_ros</buildtool_depend> | ||
|
|
||
| <build_depend>rosidl_typesupport_interface</build_depend> | ||
|
|
||
| <buildtool_export_depend>ament_cmake</buildtool_export_depend> | ||
| <buildtool_export_depend>rosidl_cmake</buildtool_export_depend> | ||
|
|
||
|
|
@@ -22,10 +21,10 @@ | |
| <test_depend>ament_lint_auto</test_depend> | ||
| <test_depend>ament_lint_common</test_depend> | ||
| <test_depend>rosidl_cmake</test_depend> | ||
| <test_depend>rosidl_runtime_c</test_depend> | ||
| <test_depend>test_interface_files</test_depend> | ||
|
|
||
| <member_of_group>rosidl_generator_packages</member_of_group> | ||
| <member_of_group>rosidl_runtime_packages</member_of_group> | ||
|
|
||
| <export> | ||
| <build_type>ament_cmake</build_type> | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,7 @@ | |
| <maintainer email="[email protected]">Dirk Thomas</maintainer> | ||
| <license>Apache License 2.0</license> | ||
|
|
||
|
|
||
| <buildtool_depend>ament_cmake</buildtool_depend> | ||
|
|
||
| <buildtool_export_depend>ament_cmake</buildtool_export_depend> | ||
|
|
@@ -21,11 +22,11 @@ | |
| <test_depend>ament_lint_auto</test_depend> | ||
| <test_depend>ament_lint_common</test_depend> | ||
| <test_depend>rosidl_cmake</test_depend> | ||
| <test_depend>rosidl_generator_c</test_depend> | ||
| <test_depend>rosidl_runtime_cpp</test_depend> | ||
| <test_depend>rosidl_runtime_c</test_depend> | ||
| <test_depend>test_interface_files</test_depend> | ||
|
|
||
| <member_of_group>rosidl_generator_packages</member_of_group> | ||
| <member_of_group>rosidl_runtime_packages</member_of_group> | ||
|
|
||
| <export> | ||
| <build_type>ament_cmake</build_type> | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| cmake_minimum_required(VERSION 3.5) | ||
|
|
||
| project(rosidl_runtime_c C) | ||
|
|
||
| # Default to C11 | ||
| if(NOT CMAKE_C_STANDARD) | ||
| set(CMAKE_C_STANDARD 11) | ||
| endif() | ||
|
|
||
| if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
| add_compile_options(-Wall -Wextra -Wpedantic) | ||
| endif() | ||
|
|
||
| find_package(ament_cmake_ros REQUIRED) | ||
| find_package(rosidl_typesupport_interface REQUIRED) | ||
|
|
||
| include_directories(include) | ||
| add_library(${PROJECT_NAME} | ||
| "src/message_bounds.c" | ||
| "src/message_type_support.c" | ||
| "src/primitives_sequence_functions.c" | ||
| "src/service_type_support.c" | ||
| "src/string_functions.c" | ||
| "src/u16string_functions.c" | ||
| ) | ||
| ament_target_dependencies(${PROJECT_NAME} | ||
| "rosidl_typesupport_interface") | ||
| if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
| set_target_properties(${PROJECT_NAME} PROPERTIES | ||
| COMPILE_OPTIONS -Wall -Wextra -Wpedantic) | ||
| endif() | ||
| if(WIN32) | ||
| target_compile_definitions(${PROJECT_NAME} | ||
| PRIVATE "ROSIDL_RUNTIME_C_BUILDING_DLL") | ||
| endif() | ||
|
|
||
| ament_export_dependencies(rosidl_typesupport_interface) | ||
| ament_export_include_directories(include) | ||
| ament_export_libraries(${PROJECT_NAME}) | ||
|
|
||
| ament_index_register_resource("rosidl_runtime_packages") | ||
|
|
||
| if(BUILD_TESTING) | ||
| find_package(ament_lint_auto REQUIRED) | ||
| ament_lint_auto_find_test_dependencies() | ||
| endif() | ||
|
|
||
| install( | ||
| DIRECTORY include/ | ||
| DESTINATION include | ||
| ) | ||
| install( | ||
| TARGETS ${PROJECT_NAME} | ||
| ARCHIVE DESTINATION lib | ||
| LIBRARY DESTINATION lib | ||
| RUNTIME DESTINATION bin | ||
| ) | ||
|
|
||
| ament_package() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| <?xml version="1.0"?> | ||
| <?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
| <package format="3"> | ||
| <name>rosidl_runtime_c</name> | ||
| <version>0.8.2</version> | ||
| <description>Generate the ROS interfaces in C.</description> | ||
| <maintainer email="[email protected]">William Woodall</maintainer> | ||
| <license>Apache License 2.0</license> | ||
|
|
||
| <buildtool_depend>ament_cmake_ros</buildtool_depend> | ||
|
|
||
| <build_depend>rosidl_typesupport_interface</build_depend> | ||
|
|
||
| <buildtool_export_depend>ament_cmake</buildtool_export_depend> | ||
|
|
||
| <build_export_depend>rosidl_typesupport_interface</build_export_depend> | ||
|
|
||
| <test_depend>ament_lint_auto</test_depend> | ||
| <test_depend>ament_lint_common</test_depend> | ||
|
|
||
| <member_of_group>rosidl_runtime_packages</member_of_group> | ||
|
|
||
| <export> | ||
| <build_type>ament_cmake</build_type> | ||
| </export> | ||
| </package> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| cmake_minimum_required(VERSION 3.5) | ||
|
|
||
| project(rosidl_runtime_cpp) | ||
|
|
||
| find_package(ament_cmake REQUIRED) | ||
|
|
||
| ament_export_dependencies(rosidl_cmake) | ||
| ament_export_include_directories(include) | ||
|
|
||
| ament_index_register_resource("rosidl_runtime_packages") | ||
|
|
||
| if(BUILD_TESTING) | ||
| find_package(ament_lint_auto REQUIRED) | ||
| ament_lint_auto_find_test_dependencies() | ||
| endif() | ||
|
|
||
| install( | ||
| DIRECTORY include/ | ||
| DESTINATION include | ||
| ) | ||
|
|
||
| ament_package() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <?xml version="1.0"?> | ||
| <?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
| <package format="3"> | ||
| <name>rosidl_runtime_cpp</name> | ||
| <version>0.8.2</version> | ||
| <description>Generate the ROS interfaces in C++.</description> | ||
| <maintainer email="[email protected]">Dirk Thomas</maintainer> | ||
| <license>Apache License 2.0</license> | ||
|
|
||
| <buildtool_depend>ament_cmake</buildtool_depend> | ||
|
|
||
| <buildtool_export_depend>ament_cmake</buildtool_export_depend> | ||
|
|
||
| <test_depend>ament_lint_auto</test_depend> | ||
| <test_depend>ament_lint_common</test_depend> | ||
|
|
||
| <member_of_group>rosidl_runtime_packages</member_of_group> | ||
|
|
||
| <export> | ||
| <build_type>ament_cmake</build_type> | ||
| </export> | ||
| </package> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.