forked from boostorg/beast
Integrated Beast interface.
This commit is contained in:
@@ -10,8 +10,4 @@ add_executable (echo-op
|
||||
echo_op.cpp
|
||||
)
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(echo-op ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(echo-op ${Boost_LIBRARIES})
|
||||
endif()
|
||||
target_link_libraries(echo-op Beast)
|
||||
|
||||
@@ -11,8 +11,4 @@ add_executable (http-client
|
||||
http_client.cpp
|
||||
)
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(http-client ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(http-client ${Boost_LIBRARIES})
|
||||
endif()
|
||||
target_link_libraries(http-client Beast)
|
||||
|
||||
@@ -13,8 +13,4 @@ add_executable (http-crawl
|
||||
http_crawl.cpp
|
||||
)
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(http-crawl ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(http-crawl ${Boost_LIBRARIES})
|
||||
endif()
|
||||
target_link_libraries(http-crawl Beast)
|
||||
|
||||
@@ -15,8 +15,4 @@ add_executable (http-server
|
||||
main.cpp
|
||||
)
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(http-server ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(http-server ${Boost_LIBRARIES})
|
||||
endif()
|
||||
target_link_libraries(http-server Beast ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_FILESYSTEM_LIBRARY} )
|
||||
|
||||
@@ -13,11 +13,7 @@ add_executable (http-ssl-example
|
||||
http_ssl_example.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(http-ssl-example ${OPENSSL_LIBRARIES})
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(http-ssl-example ${Boost_LIBRARIES} Threads::Threads)
|
||||
endif()
|
||||
target_link_libraries(http-ssl-example Beast ${OPENSSL_LIBRARIES})
|
||||
|
||||
add_executable (websocket-ssl-example
|
||||
${BEAST_INCLUDES}
|
||||
@@ -25,8 +21,4 @@ add_executable (websocket-ssl-example
|
||||
websocket_ssl_example.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(websocket-ssl-example ${OPENSSL_LIBRARIES})
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(websocket-ssl-example ${Boost_LIBRARIES} Threads::Threads)
|
||||
endif()
|
||||
target_link_libraries(websocket-ssl-example Beast ${OPENSSL_LIBRARIES})
|
||||
|
||||
@@ -11,9 +11,4 @@ add_executable (websocket-client
|
||||
websocket_client.cpp
|
||||
)
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(websocket-client ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(websocket-client ${Boost_LIBRARIES})
|
||||
endif()
|
||||
|
||||
target_link_libraries(websocket-client Beast)
|
||||
|
||||
@@ -12,8 +12,4 @@ add_executable (websocket-server
|
||||
websocket_sync_echo_server.hpp
|
||||
)
|
||||
|
||||
if (NOT WIN32)
|
||||
target_link_libraries(websocket-server ${Boost_LIBRARIES} Threads::Threads)
|
||||
else()
|
||||
target_link_libraries(websocket-server ${Boost_LIBRARIES})
|
||||
endif()
|
||||
target_link_libraries(websocket-server Beast)
|
||||
|
||||
Reference in New Issue
Block a user