mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
change CMake CONFIG to fmu-v2 and THREADS to 4
This commit is contained in:
committed by
Lorenz Meier
parent
df5cb5472d
commit
5d588d98be
+2
-2
@@ -132,10 +132,10 @@ cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
|
|||||||
set(CMAKE_BUILD_TYPE "" CACHE STRING "build type")
|
set(CMAKE_BUILD_TYPE "" CACHE STRING "build type")
|
||||||
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY
|
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY
|
||||||
STRINGS ";Debug;Release;RelWithDebInfo;MinSizeRel")
|
STRINGS ";Debug;Release;RelWithDebInfo;MinSizeRel")
|
||||||
set(CONFIG "nuttx_px4fmu-v4_default" CACHE STRING "desired configuration")
|
set(CONFIG "nuttx_px4fmu-v2_default" CACHE STRING "desired configuration")
|
||||||
file(GLOB_RECURSE configs RELATIVE cmake/configs "cmake/configs/*.cmake")
|
file(GLOB_RECURSE configs RELATIVE cmake/configs "cmake/configs/*.cmake")
|
||||||
set_property(CACHE CONFIG PROPERTY STRINGS ${configs})
|
set_property(CACHE CONFIG PROPERTY STRINGS ${configs})
|
||||||
set(THREADS "8" CACHE STRING
|
set(THREADS "4" CACHE STRING
|
||||||
"number of threads to use for external build processes")
|
"number of threads to use for external build processes")
|
||||||
set(DEBUG_PORT "/dev/ttyACM0" CACHE STRING "debugging port")
|
set(DEBUG_PORT "/dev/ttyACM0" CACHE STRING "debugging port")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user