mirror of
https://github.com/BlackMATov/curly.hpp.git
synced 2025-12-16 14:11:17 +07:00
add promise.hpp to unit tests
This commit is contained in:
@@ -64,3 +64,19 @@ if(NOT tencent_rapidjson_POPULATED)
|
|||||||
target_include_directories(${PROJECT_NAME}
|
target_include_directories(${PROJECT_NAME}
|
||||||
PRIVATE ${tencent_rapidjson_SOURCE_DIR}/include)
|
PRIVATE ${tencent_rapidjson_SOURCE_DIR}/include)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
#
|
||||||
|
# blackmatov/promise.hpp
|
||||||
|
#
|
||||||
|
|
||||||
|
include(FetchContent)
|
||||||
|
FetchContent_Declare(
|
||||||
|
blackmatov_promise_hpp
|
||||||
|
GIT_REPOSITORY https://github.com/blackmatov/promise.hpp)
|
||||||
|
|
||||||
|
FetchContent_GetProperties(blackmatov_promise_hpp)
|
||||||
|
if(NOT blackmatov_promise_hpp_POPULATED)
|
||||||
|
FetchContent_Populate(blackmatov_promise_hpp)
|
||||||
|
target_include_directories(${PROJECT_NAME}
|
||||||
|
PRIVATE ${blackmatov_promise_hpp_SOURCE_DIR}/headers)
|
||||||
|
endif()
|
||||||
|
|||||||
@@ -16,6 +16,9 @@ namespace json = rapidjson;
|
|||||||
#include <curly.hpp/curly.hpp>
|
#include <curly.hpp/curly.hpp>
|
||||||
namespace net = curly_hpp;
|
namespace net = curly_hpp;
|
||||||
|
|
||||||
|
#include <promise.hpp/promise.hpp>
|
||||||
|
namespace netex = promise_hpp;
|
||||||
|
|
||||||
#include "png_data.h"
|
#include "png_data.h"
|
||||||
#include "jpeg_data.h"
|
#include "jpeg_data.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user