mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
microRTPS bridge: CMake: add verbosity regarding the FastRTPSGen version
This commit is contained in:
parent
5c0f01a8b8
commit
9c00f3de02
@ -38,6 +38,14 @@
|
||||
find_program(FASTRTPSGEN fastrtpsgen PATHS $ENV{FASTRTPSGEN_DIR})
|
||||
if(NOT FASTRTPSGEN)
|
||||
message(FATAL_ERROR "Unable to find fastrtpsgen")
|
||||
else()
|
||||
execute_process(
|
||||
COMMAND $ENV{FASTRTPSGEN_DIR}fastrtpsgen -version
|
||||
OUTPUT_VARIABLE FASTRTPSGEN_VERSION
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
ERROR_QUIET
|
||||
)
|
||||
message(STATUS "${FASTRTPSGEN_VERSION}")
|
||||
endif()
|
||||
|
||||
if (EXISTS "${PX4_SOURCE_DIR}/msg/tools/uorb_rtps_message_ids.yaml")
|
||||
|
||||
@ -81,7 +81,7 @@ if (NOT "${config_rtps_send_topics}" STREQUAL "" OR NOT "${config_rtps_receive_t
|
||||
--agent-outdir ${CMAKE_CURRENT_BINARY_DIR}/micrortps_agent
|
||||
--client-outdir ${CMAKE_CURRENT_BINARY_DIR}/micrortps_client
|
||||
--idl-dir ${CMAKE_CURRENT_BINARY_DIR}/micrortps_agent/idl
|
||||
>micrortps_bridge.log > /dev/null
|
||||
>micrortps_bridge.log >/dev/null
|
||||
DEPENDS ${send_topic_files} ${receive_topic_files}
|
||||
COMMENT "Generating RTPS topic bridge"
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user