uxrce_dds_client: remove unused msgdir arg from script

This commit is contained in:
GuillaumeLaine
2024-12-13 16:34:37 +01:00
committed by Beat Küng
parent 58e5b75d06
commit 4d62522942
3 changed files with 1 additions and 11 deletions
+1 -7
View File
@@ -448,13 +448,7 @@ if(CONFIG_LIB_CDRSTREAM)
# Copy .msg files
foreach(msg_file ${msg_files})
get_filename_component(msg ${msg_file} NAME_WE)
get_filename_component(msg_directory ${msg_file} DIRECTORY)
get_filename_component(msg_directory ${msg_directory} NAME)
if(msg_directory STREQUAL "versioned")
configure_file(${PX4_SOURCE_DIR}/msg/${msg_directory}/${msg}.msg ${idl_out_path}/${msg}.msg COPYONLY)
else()
configure_file(${PX4_SOURCE_DIR}/msg/${msg}.msg ${idl_out_path}/${msg}.msg COPYONLY)
endif()
configure_file(${msg_file} ${idl_out_path}/${msg}.msg COPYONLY)
list(APPEND uorb_cdr_idl ${idl_out_path}/${msg}.idl)
list(APPEND uorb_cdr_msg ${idl_out_path}/${msg}.msg)
list(APPEND uorb_cdr_idl_uorb ${idl_uorb_path}/${msg}.h)