mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 03:33:35 +08:00
NuttX cmake build wrapper thorough dependencies
This commit is contained in:
committed by
Lorenz Meier
parent
99aae8b891
commit
2af262ed1d
@@ -131,9 +131,9 @@ function(px4_add_common_flags)
|
||||
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fcheck-new>)
|
||||
|
||||
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
|
||||
message(FATAL_ERROR "Intel compiler not yet supported")
|
||||
message(FATAL_ERROR "Intel compiler not yet supported")
|
||||
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
||||
message(FATAL_ERROR "MS compiler not yet supported")
|
||||
message(FATAL_ERROR "MS compiler not yet supported")
|
||||
endif()
|
||||
|
||||
# C only flags
|
||||
@@ -171,9 +171,6 @@ function(px4_add_common_flags)
|
||||
${PX4_BINARY_DIR}
|
||||
${PX4_BINARY_DIR}/src/lib
|
||||
|
||||
if("${PX4_BOARD_LABEL}" STREQUAL "bootloader")
|
||||
${PX4_SOURCE_DIR}/platforms/${PX4_PLATFORM}/src/bootloader
|
||||
endif()
|
||||
${PX4_SOURCE_DIR}/platforms/${PX4_PLATFORM}/src/px4/${PX4_CHIP_MANUFACTURER}/${PX4_CHIP}/include
|
||||
${PX4_SOURCE_DIR}/platforms/${PX4_PLATFORM}/src/px4/common/include
|
||||
${PX4_SOURCE_DIR}/platforms/common/include
|
||||
|
||||
Reference in New Issue
Block a user