Reorganize SSL examples

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:27 -07:00
1 parent 8f627b0748
commit 8b5f5c6feb
11 files changed
+37 -34

No files matched your search

+5
View File
@@ -5,3 +5,8 @@ add_subdirectory (http-client)
add_subdirectory (http-crawl)
add_subdirectory (server-framework)
add_subdirectory (websocket-client)
if (OPENSSL_FOUND)
add_subdirectory (http-client-ssl)
add_subdirectory (websocket-client-ssl)
endif()
+14
View File
@@ -0,0 +1,14 @@
# Part of Beast
GroupSources(include/beast beast)
GroupSources(example/http-client-ssl "/")
include_directories(${OPENSSL_INCLUDE_DIR})
add_executable (http-client-ssl
${BEAST_INCLUDES}
http_client_ssl.cpp
)
target_link_libraries(http-client-ssl Beast ${OPENSSL_LIBRARIES})
@@ -43,7 +43,7 @@ project
<library>crypto
;
exe ssl-http-client
exe http-client-ssl
:
ssl_http_client.cpp
http_client_ssl.cpp
;
-14
View File
@@ -1,14 +0,0 @@
# Part of Beast
GroupSources(include/beast beast)
GroupSources(example/ssl-http-client "/")
include_directories(${OPENSSL_INCLUDE_DIR})
add_executable (ssl-http-client
${BEAST_INCLUDES}
ssl_http_client.cpp
)
target_link_libraries(ssl-http-client Beast ${OPENSSL_LIBRARIES})
@@ -1,14 +0,0 @@
# Part of Beast
GroupSources(include/beast beast)
GroupSources(example/ssl-websocket-client "/")
include_directories(${OPENSSL_INCLUDE_DIR})
add_executable (ssl-websocket-client
${BEAST_INCLUDES}
ssl_websocket_client.cpp
)
target_link_libraries(ssl-websocket-client Beast ${OPENSSL_LIBRARIES})
@@ -0,0 +1,14 @@
# Part of Beast
GroupSources(include/beast beast)
GroupSources(example/websocket-client-ssl "/")
include_directories(${OPENSSL_INCLUDE_DIR})
add_executable (websocket-client-ssl
${BEAST_INCLUDES}
websocket_client_ssl.cpp
)
target_link_libraries(websocket-client-ssl Beast ${OPENSSL_LIBRARIES})
File renamed without changes.