2017-06-23 23:26:34 +00:00
|
|
|
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
|
2017-03-10 00:01:46 +00:00
|
|
|
|
|
|
|
# Set project information
|
2018-01-12 23:45:42 +00:00
|
|
|
project(AlexaClientSDK VERSION 1.4.0 LANGUAGES CXX)
|
2017-03-10 00:01:46 +00:00
|
|
|
set(PROJECT_BRIEF "A cross-platform, modular SDK for interacting with the Alexa Voice Service")
|
2017-02-10 23:39:10 +00:00
|
|
|
|
|
|
|
include(build/BuildDefaults.cmake)
|
|
|
|
include(tools/Testing.cmake)
|
|
|
|
|
2017-08-17 00:13:40 +00:00
|
|
|
# Set variables for target install and .pc pkg-config file
|
|
|
|
include(build/cmake/PrepareInstall.cmake)
|
|
|
|
|
2018-01-12 23:45:42 +00:00
|
|
|
|
|
|
|
configure_file (
|
|
|
|
"${PROJECT_SOURCE_DIR}/AVSCommon/Utils/include/AVSCommon/Utils/SDKVersion.h.in"
|
|
|
|
"${PROJECT_SOURCE_DIR}/AVSCommon/Utils/include/AVSCommon/Utils/SDKVersion.h"
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2017-02-10 23:39:10 +00:00
|
|
|
# Alexa Client SDK targets.
|
2017-03-10 00:01:46 +00:00
|
|
|
add_subdirectory("ThirdParty")
|
2017-05-05 17:31:58 +00:00
|
|
|
add_subdirectory("AVSCommon")
|
2017-02-10 23:39:10 +00:00
|
|
|
add_subdirectory("ACL")
|
2017-05-05 17:31:58 +00:00
|
|
|
add_subdirectory("AuthDelegate")
|
2017-03-10 00:01:46 +00:00
|
|
|
add_subdirectory("ADSL")
|
|
|
|
add_subdirectory("AFML")
|
2017-10-02 22:59:05 +00:00
|
|
|
add_subdirectory("CertifiedSender")
|
2017-05-18 05:02:48 +00:00
|
|
|
add_subdirectory("ContextManager")
|
2017-05-26 23:06:14 +00:00
|
|
|
add_subdirectory("MediaPlayer")
|
2017-08-08 00:04:43 +00:00
|
|
|
add_subdirectory("PlaylistParser")
|
2017-05-18 05:02:48 +00:00
|
|
|
add_subdirectory("KWD")
|
|
|
|
add_subdirectory("CapabilityAgents")
|
2017-10-30 22:14:38 +00:00
|
|
|
if (ACSDK_EXCLUDE_TEST_FROM_ALL)
|
|
|
|
add_subdirectory("Integration" EXCLUDE_FROM_ALL)
|
|
|
|
else()
|
|
|
|
add_subdirectory("Integration")
|
|
|
|
endif()
|
2017-07-18 22:25:37 +00:00
|
|
|
add_subdirectory("ApplicationUtilities")
|
|
|
|
add_subdirectory("SampleApp")
|
2017-10-02 22:59:05 +00:00
|
|
|
add_subdirectory("Storage")
|
2017-03-10 00:01:46 +00:00
|
|
|
add_subdirectory("doc")
|
2017-08-17 00:13:40 +00:00
|
|
|
|
|
|
|
# Create .pc pkg-config file
|
|
|
|
include(build/cmake/GeneratePkgConfig.cmake)
|