forked from boostorg/beast
Update CMakeLists.txt for boost
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#
|
||||
|
||||
GroupSources(include/boost/beast beast)
|
||||
|
||||
GroupSources(example/echo-op "/")
|
||||
|
||||
add_executable (echo-op
|
||||
@@ -16,5 +15,3 @@ add_executable (echo-op
|
||||
Jamfile
|
||||
echo_op.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(echo-op Beast)
|
||||
|
||||
@@ -18,7 +18,6 @@ add_executable (http-client-ssl
|
||||
http_client_ssl.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(http-client-ssl
|
||||
Beast
|
||||
target_link_libraries (http-client-ssl
|
||||
${OPENSSL_LIBRARIES}
|
||||
)
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#
|
||||
|
||||
GroupSources(include/boost/beast beast)
|
||||
|
||||
GroupSources(example/http-client "/")
|
||||
|
||||
add_executable (http-client
|
||||
@@ -16,5 +15,3 @@ add_executable (http-client
|
||||
Jamfile
|
||||
http_client.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(http-client Beast)
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#
|
||||
|
||||
GroupSources(include/boost/beast beast)
|
||||
|
||||
GroupSources(example/http-crawl "/")
|
||||
|
||||
add_executable (http-crawl
|
||||
@@ -19,4 +18,3 @@ add_executable (http-crawl
|
||||
http_crawl.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(http-crawl Beast)
|
||||
|
||||
@@ -18,9 +18,3 @@ add_executable (http-server-fast
|
||||
fields_alloc.hpp
|
||||
http_server_fast.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(http-server-fast
|
||||
Beast
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
)
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#
|
||||
|
||||
GroupSources(include/boost/beast beast)
|
||||
|
||||
GroupSources(example/http-server-small "/")
|
||||
|
||||
add_executable (http-server-small
|
||||
@@ -16,8 +15,3 @@ add_executable (http-server-small
|
||||
Jamfile
|
||||
http_server_small.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(http-server-small
|
||||
Beast
|
||||
)
|
||||
|
||||
|
||||
@@ -17,9 +17,3 @@ add_executable (http-server-threaded
|
||||
Jamfile
|
||||
http_server_threaded.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(http-server-threaded
|
||||
Beast
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
)
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#
|
||||
|
||||
GroupSources(include/boost/beast beast)
|
||||
|
||||
GroupSources(example/server-framework "/")
|
||||
GroupSources(example/common "common")
|
||||
|
||||
@@ -24,12 +23,8 @@ add_executable (server-framework
|
||||
main.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
server-framework
|
||||
Beast
|
||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||
${Boost_FILESYSTEM_LIBRARY})
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
target_link_libraries(server-framework ${OPENSSL_LIBRARIES})
|
||||
target_link_libraries(server-framework
|
||||
${OPENSSL_LIBRARIES}
|
||||
)
|
||||
endif()
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#
|
||||
|
||||
GroupSources(include/boost/beast beast)
|
||||
|
||||
GroupSources(example/websocket-client-ssl "/")
|
||||
|
||||
add_executable (websocket-client-ssl
|
||||
@@ -18,6 +17,5 @@ add_executable (websocket-client-ssl
|
||||
)
|
||||
|
||||
target_link_libraries(websocket-client-ssl
|
||||
Beast
|
||||
${OPENSSL_LIBRARIES}
|
||||
)
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#
|
||||
|
||||
GroupSources(include/boost/beast beast)
|
||||
|
||||
GroupSources(example/websocket-client "/")
|
||||
|
||||
add_executable (websocket-client
|
||||
@@ -16,5 +15,3 @@ add_executable (websocket-client
|
||||
Jamfile
|
||||
websocket_client.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(websocket-client Beast)
|
||||
|
||||
@@ -17,7 +17,3 @@ add_executable (websocket-server-async
|
||||
Jamfile
|
||||
websocket_server_async.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(websocket-server-async
|
||||
Beast
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user