Browse Source

make the build stop in case of an error on the RTPS generation scripts

sbg
TSC21 6 years ago committed by Beat Küng
parent
commit
254a520e19
  1. 2
      src/modules/micrortps_bridge/micrortps_client/CMakeLists.txt

2
src/modules/micrortps_bridge/micrortps_client/CMakeLists.txt

@ -83,7 +83,7 @@ if (NOT "${config_rtps_send_topics}" STREQUAL "" OR NOT "${config_rtps_receive_t @@ -83,7 +83,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 2>&1 || cat micrortps_bridge.log # quiet successful build output
>micrortps_bridge.log > /dev/null
DEPENDS ${send_topic_files} ${receive_topic_files}
COMMENT "Generating RTPS topic bridge"
)

Loading…
Cancel
Save