forked from boostorg/beast
* The examples/ directory is renamed to example/ * Each program is in its own directory with its own build scripts
19 lines
384 B
CMake
19 lines
384 B
CMake
# Part of Beast
|
|
|
|
GroupSources(extras/beast extras)
|
|
GroupSources(include/beast beast)
|
|
|
|
GroupSources(example/http-client "/")
|
|
|
|
add_executable (http-client
|
|
${BEAST_INCLUDES}
|
|
${EXTRAS_INCLUDES}
|
|
http_client.cpp
|
|
)
|
|
|
|
if (NOT WIN32)
|
|
target_link_libraries(http-client ${Boost_LIBRARIES} Threads::Threads)
|
|
else()
|
|
target_link_libraries(http-client ${Boost_LIBRARIES})
|
|
endif()
|