forked from boostorg/beast
Tidy up CMakeLists.txt
This commit is contained in:
1 parent
3ff585d36e
commit
26b5e91725
14 files changed
+41
-45
No files matched your search
@@ -1,6 +1,5 @@
|
||||
# Part of Beast
|
||||
|
||||
GroupSources(extras/beast extras)
|
||||
GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(example/echo-op "/")
|
||||
|
||||
@@ -4,11 +4,12 @@ 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})
|
||||
target_link_libraries(http-client-ssl
|
||||
Beast
|
||||
${OPENSSL_LIBRARIES}
|
||||
)
|
||||
@@ -1,6 +1,5 @@
|
||||
# Part of Beast
|
||||
|
||||
GroupSources(extras/beast extras)
|
||||
GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(example/http-client "/")
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# Part of Beast
|
||||
|
||||
GroupSources(extras/beast extras)
|
||||
GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(example/http-crawl "/")
|
||||
|
||||
@@ -4,10 +4,6 @@ GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(example/server-framework "/")
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
add_executable (server-framework
|
||||
${BEAST_INCLUDES}
|
||||
${SERVER_INCLUDES}
|
||||
@@ -21,5 +17,5 @@ target_link_libraries(
|
||||
${Boost_FILESYSTEM_LIBRARY})
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
target_link_libraries(server-framework ${OPENSSL_LIBRARIES})
|
||||
target_link_libraries(server-framework ${OPENSSL_LIBRARIES})
|
||||
endif()
|
||||
@@ -4,11 +4,12 @@ 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})
|
||||
target_link_libraries(websocket-client-ssl
|
||||
Beast
|
||||
${OPENSSL_LIBRARIES}
|
||||
)
|
||||
@@ -1,6 +1,5 @@
|
||||
# Part of Beast
|
||||
|
||||
GroupSources(extras/beast extras)
|
||||
GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(example/websocket-client "/")
|
||||
|
||||
Reference in new issue
Block a user