forked from Archive/PX4-Autopilot
39 lines
715 B
CMake
39 lines
715 B
CMake
include(qurt/px4_impl_qurt)
|
|
|
|
if ("$ENV{HEXAGON_SDK_ROOT}" STREQUAL "")
|
|
message(FATAL_ERROR "Enviroment variable HEXAGON_SDK_ROOT must be set")
|
|
else()
|
|
set(HEXAGON_SDK_ROOT $ENV{HEXAGON_SDK_ROOT})
|
|
endif()
|
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon/toolchain/Toolchain-qurt.cmake)
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/cmake_hexagon")
|
|
|
|
set(config_generate_parameters_scope ALL)
|
|
|
|
set(config_module_list
|
|
drivers/device
|
|
|
|
#
|
|
# System commands
|
|
#
|
|
systemcmds/param
|
|
|
|
#
|
|
# Library modules
|
|
#
|
|
modules/param
|
|
modules/systemlib
|
|
modules/uORB
|
|
|
|
#
|
|
# QuRT port
|
|
#
|
|
platforms/common
|
|
platforms/qurt/px4_layer
|
|
platforms/posix/work_queue
|
|
platforms/qurt/tests/hello
|
|
)
|
|
|