mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 05:33:33 +08:00
cmake: Fixes for qurt and nuttx
Added px4_parameters.c to nuttx executable src list. Minor syntax fix in Tools/px_generate_params.py for semicolon. Added handling of PX4_MAIN which was not yet supoprted in the cmake build. Fixed include quotes in muorb_test_example.cpp Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -20,10 +20,12 @@ px4_generate_parameters()
|
||||
if ("${QURT_ENABLE_STUBS}" STREQUAL "1")
|
||||
add_executable(mainapp
|
||||
${CMAKE_SOURCE_DIR}/src/platforms/qurt/dspal/dspal_stub.c
|
||||
${CMAKE_BINARY_DIR}/px4_parameters.c
|
||||
${CMAKE_BINARY_DIR}/apps.h)
|
||||
else("${QURT_ENABLE_STUBS}" STREQUAL "1")
|
||||
add_library(mainapp
|
||||
${CMAKE_SOURCE_DIR}/src/platforms/qurt/dspal/dspal_stub.c
|
||||
${CMAKE_BINARY_DIR}/px4_parameters.c
|
||||
${CMAKE_BINARY_DIR}/apps.h)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user