代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
# Detect the version number
execute_process(
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/builder/scripts/gen-version.sh" -b
OUTPUT_VARIABLE SDK_BASE_VERSION
)
project(AAC VERSION ${SDK_BASE_VERSION})
message(STATUS "Alexa Auto SDK - ${SDK_VERSION}")
option(AAC_ENABLE_TESTS "Enable building test packages for AAC modules" ON)
if(AAC_ENABLE_TESTS)
enable_testing()
endif()
if(AAC_ENABLE_COVERAGE)
message(STATUS "Enabling coverage for all modules.")
set(CMAKE_CXX_FLAGS "-g -O0 -Wall -fprofile-arcs -ftest-coverage")
set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE ON)
endif()
if(MODULES)
set(CORE_MODULES ${MODULES})
string(REPLACE "," " " CORE_MODULES ${CORE_MODULES})
separate_arguments(CORE_MODULES)
foreach(MODULE ${CORE_MODULES})
add_subdirectory(modules/${MODULE})
endforeach()
else()
add_subdirectory(modules/address-book)
add_subdirectory(modules/alexa)
add_subdirectory(modules/apl)
add_subdirectory(modules/car-control)
add_subdirectory(modules/cbl)
add_subdirectory(modules/contact-uploader)
add_subdirectory(modules/core)
add_subdirectory(modules/navigation)
add_subdirectory(modules/phone-control)
endif()
if(EXTRA_MODULES)
string(REPLACE "," " " EXTRA_MODULES ${EXTRA_MODULES})
separate_arguments(EXTRA_MODULES)
foreach(EXTRA_MODULE ${EXTRA_MODULES})
add_subdirectory(${EXTRA_MODULE})
endforeach()
endif()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。