mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 04:06:33 +08:00
CMake: Enable param meta injection
This commit is contained in:
@@ -741,7 +741,7 @@ function(px4_generate_parameters_xml)
|
|||||||
)
|
)
|
||||||
add_custom_command(OUTPUT ${OUT}
|
add_custom_command(OUTPUT ${OUT}
|
||||||
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/Tools/px_process_params.py
|
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/Tools/px_process_params.py
|
||||||
-s ${path} --board CONFIG_ARCH_${BOARD} --xml
|
-s ${path} --board CONFIG_ARCH_${BOARD} --xml --inject-xml
|
||||||
DEPENDS ${param_src_files}
|
DEPENDS ${param_src_files}
|
||||||
)
|
)
|
||||||
set(${OUT} ${${OUT}} PARENT_SCOPE)
|
set(${OUT} ${${OUT}} PARENT_SCOPE)
|
||||||
|
|||||||
Reference in New Issue
Block a user