Integrated Beast interface.

This commit is contained in:
Sacha
2017-07-20 08:15:26 -07:00
committed by Vinnie Falco
parent 104ec6be18
commit 0a2a03acfa
14 changed files with 19 additions and 96 deletions
+1 -5
View File
@@ -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)
+1 -5
View File
@@ -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)
+1 -5
View File
@@ -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)
+1 -5
View File
@@ -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} )
+2 -10
View File
@@ -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})
+1 -6
View File
@@ -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)
+1 -5
View File
@@ -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)