1 Star 0 Fork 0

iyingok/alexa-auto-sdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
MuniSakkuru 提交于 2020-04-14 23:57 . Version 2.2.0 Alexa Auto SDK
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()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/iyingok/alexa-auto-sdk.git
git@gitee.com:iyingok/alexa-auto-sdk.git
iyingok
alexa-auto-sdk
alexa-auto-sdk
2.2

搜索帮助