generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathhttpFilePaths.cmake
More file actions
27 lines (23 loc) · 1.14 KB
/
httpFilePaths.cmake
File metadata and controls
27 lines (23 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This file is to add source files and include directories
# into variables so that it can be reused from different repositories
# in their Cmake based build system by including this file.
#
# Files specific to the repository such as test runner, platform tests
# are not added to the variables.
# HTTP library source files.
set( HTTP_SOURCES
${CMAKE_CURRENT_LIST_DIR}/source/core_http_client.c
${CMAKE_CURRENT_LIST_DIR}/source/dependency/3rdparty/llhttp/src/api.c
${CMAKE_CURRENT_LIST_DIR}/source/dependency/3rdparty/llhttp/src/llhttp.c
${CMAKE_CURRENT_LIST_DIR}/source/dependency/3rdparty/llhttp/src/http.c )
# HTTP library public include directories without transport interface.
set( HTTP_INCLUDE_NO_INTERFACE_PUBLIC_DIRS
${CMAKE_CURRENT_LIST_DIR}/source/include
${CMAKE_CURRENT_LIST_DIR}/source/dependency/3rdparty/llhttp/include )
# Transport interface include directory.
set( HTTP_TRANSPORT_INTERFACE_INCLUDE_DIRS
${CMAKE_CURRENT_LIST_DIR}/source/interface )
# HTTP library public include directories.
set( HTTP_INCLUDE_PUBLIC_DIRS
${HTTP_INCLUDE_NO_INTERFACE_PUBLIC_DIRS}
${HTTP_TRANSPORT_INTERFACE_INCLUDE_DIRS} )