mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 12:27:35 +08:00
Rework Includes during the uorb message generation
each CMakeFile that generates parameters should add its path to the msg_include_path which will then be handled in the px_generate_uorb_topic_files.py
This commit is contained in:
@@ -129,10 +129,15 @@ set(msg_file_names
|
||||
|
||||
# Get absolute paths
|
||||
set(msg_files)
|
||||
set(msg_include_paths)
|
||||
|
||||
foreach(msg_file ${msg_file_names})
|
||||
list(APPEND msg_files ${CMAKE_CURRENT_SOURCE_DIR}/${msg_file})
|
||||
endforeach()
|
||||
|
||||
list(APPEND msg_include_paths ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
set(msg_include_paths ${msg_include_paths} PARENT_SCOPE)
|
||||
|
||||
set(msg_files ${msg_files} PARENT_SCOPE)
|
||||
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
|
||||
Reference in New Issue
Block a user