cmake: converted config files to new style

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-09-10 21:52:55 -07:00
parent 31c3f4e40f
commit 885dbe045f
10 changed files with 324 additions and 426 deletions

View File

@@ -1,45 +1,33 @@
include(posix/px4_impl_posix)
set(USE_TOOLCHAIN Toolchain-arm-linux-gnueabihf)
set(CMAKE_TOOLCHAIN_FILE cmake/toolchains/Toolchain-arm-linux-gnueabihf.cmake)
function(px4_get_config)
set(config_module_list
drivers/device
drivers/boards/sitl
drivers/led
px4_parse_function_args(
NAME px4_set_config_modules
ONE_VALUE OUT_MODULES
REQUIRED OUT_MODULES
ARGN ${ARGN})
systemcmds/param
systemcmds/ver
set(config_module_list
drivers/device
drivers/boards/sitl
drivers/led
modules/mavlink
systemcmds/param
systemcmds/ver
modules/systemlib
modules/uORB
modules/sensors
modules/dataman
modules/sdlog2
modules/simulator
modules/commander
modules/mavlink
lib/mathlib
lib/mathlib/math/filter
lib/geo
lib/geo_lookup
lib/conversion
modules/systemlib
modules/uORB
modules/sensors
modules/dataman
modules/sdlog2
modules/simulator
modules/commander
lib/mathlib
lib/mathlib/math/filter
lib/geo
lib/geo_lookup
lib/conversion
platforms/posix/px4_layer
platforms/posix/work_queue
modules/muorb/krait
)
set(${OUT_MODULES} ${config_module_list} PARENT_SCOPE)
endfunction()
platforms/posix/px4_layer
platforms/posix/work_queue
modules/muorb/krait
)