msg: only include orb_test messages if PX4_TESTING enabled

This commit is contained in:
Daniel Agar 2020-10-19 12:42:22 -04:00
parent 2201424dfd
commit 0b74076265
1 changed files with 8 additions and 3 deletions

View File

@ -86,9 +86,6 @@ set(msg_files
offboard_control_mode.msg
onboard_computer_status.msg
optical_flow.msg
orb_test.msg
orb_test_large.msg
orb_test_medium.msg
orbit_status.msg
parameter_update.msg
ping.msg
@ -178,6 +175,14 @@ if(NOT px4_constrained_flash_build)
)
endif()
if(PX4_TESTING)
list(APPEND msg_files
orb_test.msg
orb_test_large.msg
orb_test_medium.msg
)
endif()
list(SORT msg_files)
set(deprecated_msgs