mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-08-02 04:58:15 +08:00
[Kconfig] Fixed inclusion of microbench bydefault when TESTING was enabled
Added full optimization option
This commit is contained in:
committed by
Daniel Agar
parent
a1247d6bcf
commit
efc91d2b69
@@ -313,6 +313,10 @@ if(EXISTS ${BOARD_DEFCONFIG})
|
||||
set(ENABLE_LOCKSTEP_SCHEDULER no)
|
||||
endif()
|
||||
|
||||
if(FULL_OPTIMIZATION)
|
||||
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type" FORCE)
|
||||
endif()
|
||||
|
||||
include(px4_impl_os)
|
||||
px4_os_prebuild_targets(OUT prebuild_targets BOARD ${PX4_BOARD})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user