Only Compile and create dependencies for the Messages specified in msg/CMakeLists.txt

this lets a user select what msgs should be compiled for his project
Care must be taken though, to compile all orb_topcis that are required by the Rest of the Code.
Otherwise many compile errors will occur.

This commits adds by default the ./msg include path to reference to other msgs.
if an exisiting msg is used in another msg.
This commit is contained in:
mazahner
2016-08-25 13:28:44 +02:00
committed by Lorenz Meier
parent add2aa0680
commit 73014acf97
2 changed files with 24 additions and 10 deletions

View File

@@ -386,7 +386,7 @@ function(px4_generate_messages)
Tools/px_generate_uorb_topic_files.py
--headers
${QUIET}
-d msg
-f ${MSG_FILES}
-o ${msg_out_path}
-e msg/templates/uorb
-t ${PX4_BINARY_DIR}/topics_temporary_header
@@ -407,7 +407,7 @@ function(px4_generate_messages)
Tools/px_generate_uorb_topic_files.py
--sources
${QUIET}
-d msg
-f ${MSG_FILES}
-o ${msg_source_out_path}
-e msg/templates/uorb
-t ${PX4_BINARY_DIR}/topics_temporary_sources
@@ -437,7 +437,7 @@ function(px4_generate_messages)
Tools/px_generate_uorb_topic_files.py
--headers
${QUIET}
-d msg
-f ${MSG_FILES}
-o ${msg_multi_out_path}
-e msg/templates/px4/uorb
-t ${PX4_BINARY_DIR}/multi_topics_temporary/${OS}