-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Http Client, added URI class, various memory leak fixes. (#15)
Http Bindings, various bug fixes.
- Loading branch information
1 parent
e0de5f7
commit 57d5691
Showing
20 changed files
with
92,087 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
tests/resources/* text=auto eol=lf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
if("${TARGET_ARCH}" STREQUAL ANDROID) | ||
ExternalProject_Add(AwsCHttp | ||
PREFIX ${AWS_DEPS_BUILD_DIR} | ||
GIT_REPOSITORY ${AWS_C_HTTP_URL} | ||
GIT_TAG ${AWS_C_HTTP_SHA} | ||
BUILD_IN_SOURCE 0 | ||
UPDATE_COMMAND "" | ||
CMAKE_ARGS | ||
-DCMAKE_PREFIX_PATH=${AWS_DEPS_INSTALL_DIR} | ||
-DCMAKE_INSTALL_PREFIX=${AWS_DEPS_INSTALL_DIR} | ||
-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} | ||
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} | ||
-DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} | ||
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} | ||
-DANDROID_NATIVE_API_LEVEL=${ANDROID_NATIVE_API_LEVEL} | ||
-DANDROID_ABI=${ANDROID_ABI} | ||
-DANDROID_TOOLCHAIN_NAME=${ANDROID_TOOLCHAIN_NAME} | ||
-DANDROID_STANDALONE_TOOLCHAIN=${ANDROID_STANDALONE_TOOLCHAIN} | ||
-DANDROID_STL=${ANDROID_STL} | ||
-DENABLE_HW_OPTIMIZATION=OFF | ||
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} | ||
) | ||
elseif(MSVC) | ||
ExternalProject_Add(AwsCHttp | ||
PREFIX ${AWS_DEPS_BUILD_DIR} | ||
GIT_REPOSITORY ${AWS_C_HTTP_URL} | ||
GIT_TAG ${AWS_C_HTTP_SHA} | ||
BUILD_IN_SOURCE 0 | ||
UPDATE_COMMAND "" | ||
CMAKE_ARGS | ||
-DCMAKE_PREFIX_PATH=${AWS_DEPS_INSTALL_DIR} | ||
-DCMAKE_INSTALL_PREFIX=${AWS_DEPS_INSTALL_DIR} | ||
-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} | ||
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} | ||
-DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} | ||
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} | ||
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=${CMAKE_RUNTIME_OUTPUT_DIRECTORY} | ||
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} | ||
) | ||
else() | ||
ExternalProject_Add(AwsCHttp | ||
PREFIX ${AWS_DEPS_BUILD_DIR} | ||
GIT_REPOSITORY ${AWS_C_HTTP_URL} | ||
GIT_TAG ${AWS_C_HTTP_SHA} | ||
BUILD_IN_SOURCE 0 | ||
UPDATE_COMMAND "" | ||
CMAKE_ARGS | ||
-DCMAKE_PREFIX_PATH=${AWS_DEPS_INSTALL_DIR} | ||
-DCMAKE_INSTALL_PREFIX=${AWS_DEPS_INSTALL_DIR} | ||
-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} | ||
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} | ||
-DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} | ||
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} | ||
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} | ||
) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,6 @@ cd build | |
|
||
cmake -DBUILD_DEPS=ON $@ ../ | ||
make | ||
make test | ||
ctest -V | ||
|
||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.