Update CMakeLists.txt for boost

This commit is contained in:
Vinnie Falco
2017-07-23 20:04:07 -07:00
parent ad8c5f9f7f
commit 198846d7bd
22 changed files with 21 additions and 133 deletions
-3
View File
@@ -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)
+1 -2
View File
@@ -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}
)
-3
View File
@@ -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)
-2
View File
@@ -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)
-6
View File
@@ -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}
)
-6
View File
@@ -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}
)
+3 -8
View File
@@ -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}
)
-3
View File
@@ -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
)