mirror of
https://github.com/micro-ROS/micro-ROS-Agent.git
synced 2026-09-06 09:55:15 +02:00
Compare commits
5
Commits
92c512dfad
...
rolling
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e42d6ab6f | ||
|
|
ddbf534eb9 | ||
|
|
d5c42ee0a6 | ||
|
|
13dd40d09a | ||
|
|
f382e14e74 |
@@ -12,7 +12,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
cmake_minimum_required(VERSION 3.11)
|
||||
|
||||
option(UROSAGENT_GENERATE_PROFILE
|
||||
"Generates agent.refs according to the .msgs provided in the .repos" OFF
|
||||
@@ -62,16 +62,15 @@ target_include_directories(${PROJECT_NAME}
|
||||
include
|
||||
)
|
||||
|
||||
ament_target_dependencies(${PROJECT_NAME}
|
||||
rosidl_typesupport_fastrtps_cpp
|
||||
rosidl_runtime_cpp
|
||||
rosidl_typesupport_cpp
|
||||
fastcdr
|
||||
fastdds
|
||||
rmw_dds_common
|
||||
rmw
|
||||
rmw_fastrtps_shared_cpp
|
||||
micro_ros_msgs
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
${micro_ros_msgs_TARGETS}
|
||||
${rmw_dds_common_TARGETS}
|
||||
rmw::rmw
|
||||
rmw_dds_common::rmw_dds_common_library
|
||||
rmw_fastrtps_shared_cpp::rmw_fastrtps_shared_cpp
|
||||
rosidl_runtime_cpp::rosidl_runtime_cpp
|
||||
rosidl_typesupport_cpp::rosidl_typesupport_cpp
|
||||
rosidl_typesupport_fastrtps_cpp::rosidl_typesupport_fastrtps_cpp
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
|
||||
@@ -19,14 +19,14 @@ unset(_deps)
|
||||
enable_language(C)
|
||||
enable_language(CXX)
|
||||
|
||||
unset(xrceagent_DIR CACHE)
|
||||
find_package(xrceagent 3 EXACT QUIET)
|
||||
if(NOT xrceagent_FOUND)
|
||||
ExternalProject_Add(xrceagent
|
||||
unset(microxrcedds_agent_DIR CACHE)
|
||||
find_package(microxrcedds_agent 3.0.2 QUIET)
|
||||
if(NOT microxrcedds_agent_FOUND)
|
||||
ExternalProject_Add(microxrcedds_agent
|
||||
GIT_REPOSITORY
|
||||
https://github.com/eProsima/Micro-XRCE-DDS-Agent.git
|
||||
GIT_TAG
|
||||
v3.0.1
|
||||
v3.0.2
|
||||
PREFIX
|
||||
${PROJECT_BINARY_DIR}/agent
|
||||
INSTALL_DIR
|
||||
@@ -51,6 +51,7 @@ if(NOT xrceagent_FOUND)
|
||||
-DUAGENT_BUILD_EXECUTABLE:BOOL=OFF
|
||||
-DUAGENT_ISOLATED_INSTALL:BOOL=OFF
|
||||
)
|
||||
list(APPEND _deps microxrcedds_agent)
|
||||
endif()
|
||||
|
||||
# Main project.
|
||||
@@ -64,5 +65,5 @@ ExternalProject_Add(micro_ros_agent
|
||||
INSTALL_COMMAND
|
||||
""
|
||||
DEPENDS
|
||||
xrceagent
|
||||
${_deps}
|
||||
)
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
<name>micro_ros_agent</name>
|
||||
<version>6.0.0</version>
|
||||
<description>micro-ROS Agent package</description>
|
||||
<maintainer email="pablogarrido@eprosima.com">Pablo Garrido</maintainer>
|
||||
<maintainer email="antoniocuadros@eprosima.com">Antonio Cuadros</maintainer>
|
||||
<maintainer email="eugeniocollado@eprosima.com">Eugenio Collado</maintainer>
|
||||
<maintainer email="davidlaseca@eprosima.com">David Laseca</maintainer>
|
||||
<license>Apache License 2.0</license>
|
||||
|
||||
<buildtool_depend>ament_cmake</buildtool_depend>
|
||||
@@ -20,6 +20,7 @@
|
||||
<depend>rmw_fastrtps_shared_cpp</depend>
|
||||
<depend>rmw_dds_common</depend>
|
||||
<depend>micro_ros_msgs</depend>
|
||||
<depend>microxrcedds_agent</depend>
|
||||
|
||||
<test_depend>rosidl_typesupport_fastrtps_cpp</test_depend>
|
||||
<test_depend>ament_cmake_gtest</test_depend>
|
||||
|
||||
Reference in New Issue
Block a user