uORB print_message cleanup

- indent field print with tabs instead of spaces
 - print a newline before printing a nested field
 - cmake add generator dependencies
This commit is contained in:
Daniel Agar
2018-03-28 09:15:41 -04:00
parent c4c4441c87
commit 416feea9e4
3 changed files with 20 additions and 9 deletions
+8 -2
View File
@@ -165,7 +165,10 @@ add_custom_command(OUTPUT ${uorb_headers}
-e templates/uorb
-t ${CMAKE_CURRENT_BINARY_DIR}/tmp/headers
-q
DEPENDS ${msg_files} templates/uorb/msg.h.template
DEPENDS
${msg_files}
templates/uorb/msg.h.template
tools/px_generate_uorb_topic_files.py
COMMENT "Generating uORB topic headers"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
VERBATIM
@@ -182,7 +185,10 @@ add_custom_command(OUTPUT ${uorb_sources}
-e templates/uorb
-t ${CMAKE_CURRENT_BINARY_DIR}/tmp/sources
-q
DEPENDS ${msg_files} templates/uorb/msg.cpp.template
DEPENDS
${msg_files}
templates/uorb/msg.cpp.template
tools/px_generate_uorb_topic_files.py
COMMENT "Generating uORB topic sources"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
VERBATIM