Files
MaxScale/maxutils/maxbase/src/CMakeLists.txt
Johan Wikman 8d77ddec63 MXS-2208 Add simple Http library
- Built on top of Curl
- Currently only GET
2018-12-05 12:48:42 +02:00

29 lines
465 B
CMake

add_library(maxbase STATIC
alloc.cc
atomic.cc
eventcount.cc
format.cc
http.cc
log.cc
logger.cc
maxbase.cc
messagequeue.cc
semaphore.cc
stopwatch.cc
string.cc
stacktrace.cc
worker.cc
workertask.cc
average.cc
)
if(HAVE_SYSTEMD)
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)