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