MXS-2208 Add simple Http library

- Built on top of Curl
- Currently only GET
This commit is contained in:
Johan Wikman
2018-12-05 10:58:31 +02:00
parent bec9455a74
commit 8d77ddec63
8 changed files with 292 additions and 3 deletions

View File

@ -3,6 +3,7 @@ add_library(maxbase STATIC
atomic.cc
eventcount.cc
format.cc
http.cc
log.cc
logger.cc
maxbase.cc
@ -21,4 +22,7 @@ target_link_libraries(maxbase systemd)
endif()
set_target_properties(maxbase PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
target_link_libraries(maxbase
${CURL_LIBRARIES}
)
add_subdirectory(test)