2017-06-23 23:26:34 +00:00
|
|
|
project(AVSCommon)
|
2017-03-10 00:01:46 +00:00
|
|
|
|
2017-06-23 23:26:34 +00:00
|
|
|
find_package(CURL ${CURL_PACKAGE_CONFIG})
|
2017-03-10 00:01:46 +00:00
|
|
|
|
2017-06-23 23:26:34 +00:00
|
|
|
add_definitions("-DACSDK_LOG_MODULE=avsCommon")
|
2017-05-18 05:02:48 +00:00
|
|
|
|
2017-06-23 23:26:34 +00:00
|
|
|
add_subdirectory("AVS")
|
|
|
|
add_subdirectory("Utils")
|
2017-05-18 05:02:48 +00:00
|
|
|
|
2017-06-23 23:26:34 +00:00
|
|
|
add_library(AVSCommon SHARED
|
|
|
|
AVS/src/AlexaClientSDKInit.cpp
|
|
|
|
AVS/src/Attachment/Attachment.cpp
|
|
|
|
AVS/src/Attachment/AttachmentManager.cpp
|
|
|
|
AVS/src/Attachment/InProcessAttachment.cpp
|
|
|
|
AVS/src/Attachment/InProcessAttachmentReader.cpp
|
|
|
|
AVS/src/Attachment/InProcessAttachmentWriter.cpp
|
|
|
|
AVS/src/AVSDirective.cpp
|
|
|
|
AVS/src/AVSMessage.cpp
|
|
|
|
AVS/src/AVSMessageHeader.cpp
|
|
|
|
AVS/src/CapabilityAgent.cpp
|
2017-07-18 22:25:37 +00:00
|
|
|
AVS/src/EventBuilder.cpp
|
|
|
|
AVS/src/ExceptionEncounteredSender.cpp
|
2017-06-23 23:26:34 +00:00
|
|
|
AVS/src/HandlerAndPolicy.cpp
|
|
|
|
AVS/src/MessageRequest.cpp
|
|
|
|
AVS/src/NamespaceAndName.cpp
|
2017-07-18 22:25:37 +00:00
|
|
|
AVS/src/DialogUXStateAggregator.cpp
|
2017-06-23 23:26:34 +00:00
|
|
|
Utils/src/Configuration/ConfigurationNode.cpp
|
|
|
|
Utils/src/Executor.cpp
|
|
|
|
Utils/src/JSONUtils.cpp
|
|
|
|
Utils/src/LibcurlUtils.cpp
|
|
|
|
Utils/src/Logger/ConsoleLogger.cpp
|
|
|
|
Utils/src/Logger/Level.cpp
|
|
|
|
Utils/src/Logger/LogEntry.cpp
|
|
|
|
Utils/src/Logger/LogEntryBuffer.cpp
|
|
|
|
Utils/src/Logger/LogEntryStream.cpp
|
|
|
|
Utils/src/Logger/Logger.cpp
|
|
|
|
Utils/src/Logger/LoggerUtils.cpp
|
|
|
|
Utils/src/Logger/ModuleLogger.cpp
|
|
|
|
Utils/src/Logger/ThreadMoniker.cpp
|
2017-07-18 22:25:37 +00:00
|
|
|
Utils/src/StringUtils.cpp
|
2017-06-23 23:26:34 +00:00
|
|
|
Utils/src/TaskQueue.cpp
|
|
|
|
Utils/src/TaskThread.cpp
|
|
|
|
Utils/src/Timer.cpp
|
2017-07-18 22:25:37 +00:00
|
|
|
Utils/src/TimeUtils.cpp
|
2017-06-23 23:26:34 +00:00
|
|
|
Utils/src/UUIDGeneration.cpp)
|
2017-05-18 05:02:48 +00:00
|
|
|
|
2017-06-23 23:26:34 +00:00
|
|
|
target_include_directories(AVSCommon PUBLIC
|
|
|
|
"${AVSCommon_SOURCE_DIR}/AVS/include"
|
|
|
|
"${AVSCommon_SOURCE_DIR}/SDKInterfaces/include"
|
|
|
|
"${AVSCommon_SOURCE_DIR}/Utils/include"
|
|
|
|
"${RAPIDJSON_INCLUDE_DIR}"
|
|
|
|
${CURL_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
target_link_libraries(AVSCommon
|
|
|
|
${CURL_LIBRARIES})
|