OpenSSL targets are optional (CMake)

This commit is contained in:
Vinnie Falco
2017-10-01 10:33:49 -07:00
parent bbc1f14347
commit c0cf030528
17 changed files with 243 additions and 194 deletions

View File

@ -1,6 +1,7 @@
Version 120:
* Fix spurious strand_ in advanced_server_flex
* OpenSSL targets are optional (CMake)
--------------------------------------------------------------------------------

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/advanced/server-flex "/")
@ -23,3 +24,5 @@ add_executable (advanced-server-flex
target_link_libraries (advanced-server-flex
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/http/client/async-ssl "/")
@ -21,3 +22,5 @@ add_executable (http-client-async-ssl
target_link_libraries (http-client-async-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/http/client/coro-ssl "/")
@ -21,3 +22,5 @@ add_executable (http-client-coro-ssl
target_link_libraries (http-client-coro-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/http/client/sync-ssl "/")
@ -21,3 +22,5 @@ add_executable (http-client-sync-ssl
target_link_libraries (http-client-sync-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/http/server/async-ssl "/")
@ -21,3 +22,5 @@ add_executable (http-server-async-ssl
target_link_libraries (http-server-async-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/http/server/coro-ssl "/")
@ -21,3 +22,5 @@ add_executable (http-server-coro-ssl
target_link_libraries (http-server-coro-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/http/server/flex "/")
@ -22,3 +23,5 @@ add_executable (http-server-flex
target_link_libraries (http-server-flex
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/http/server/stackless-ssl "/")
@ -21,3 +22,5 @@ add_executable (http-server-stackless-ssl
target_link_libraries (http-server-stackless-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/http/server/sync-ssl "/")
@ -20,3 +21,5 @@ add_executable (http-server-sync-ssl
target_link_libraries (http-server-sync-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/websocket/client/async-ssl "/")
@ -21,3 +22,5 @@ add_executable (websocket-client-async-ssl
target_link_libraries (websocket-client-async-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/websocket/client/coro-ssl "/")
@ -21,3 +22,5 @@ add_executable (websocket-client-coro-ssl
target_link_libraries (websocket-client-coro-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/websocket/client/sync-ssl "/")
@ -21,3 +22,5 @@ add_executable (websocket-client-sync-ssl
target_link_libraries (websocket-client-sync-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/websocket/server/async-ssl "/")
@ -21,3 +22,5 @@ add_executable (websocket-server-async-ssl
target_link_libraries (websocket-server-async-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/websocket/server/coro-ssl "/")
@ -21,3 +22,5 @@ add_executable (websocket-server-coro-ssl
target_link_libraries (websocket-server-coro-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/websocket/server/stackless-ssl "/")
@ -21,3 +22,5 @@ add_executable (websocket-server-stackless-ssl
target_link_libraries (websocket-server-stackless-ssl
${OPENSSL_LIBRARIES}
)
endif()

View File

@ -7,6 +7,7 @@
# Official repository: https://github.com/boostorg/beast
#
if (OPENSSL_FOUND)
GroupSources(include/boost/beast beast)
GroupSources(example/common common)
GroupSources(example/websocket/server/sync-ssl "/")
@ -21,3 +22,5 @@ add_executable (websocket-server-sync-ssl
target_link_libraries (websocket-server-sync-ssl
${OPENSSL_LIBRARIES}
)
endif()