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
@@ -13,6 +13,7 @@ if ((NOT "${VARIANT}" STREQUAL "coverage") AND
|
||||
|
||||
GroupSources(extras/beast extras)
|
||||
GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(test "/")
|
||||
|
||||
add_executable (lib-tests
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
GroupSources(extras/beast extras)
|
||||
GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(test/benchmarks "/")
|
||||
GroupSources(test/http "/")
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
GroupSources(examples examples)
|
||||
GroupSources(extras/beast extras)
|
||||
GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(test/core "/")
|
||||
|
||||
add_executable (core-tests
|
||||
|
||||
@@ -6,10 +6,6 @@ GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(test/server "/")
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
add_executable (server-test
|
||||
${BEAST_INCLUDES}
|
||||
${SERVER_INCLUDES}
|
||||
@@ -42,5 +38,5 @@ target_link_libraries(server-test
|
||||
)
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
target_link_libraries(server-test ${OPENSSL_LIBRARIES})
|
||||
target_link_libraries (server-test ${OPENSSL_LIBRARIES})
|
||||
endif()
|
||||
@@ -2,13 +2,10 @@
|
||||
|
||||
GroupSources(extras/beast extras)
|
||||
GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(test/websocket "/")
|
||||
|
||||
include_directories(../../example/)
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||
endif()
|
||||
#include_directories(../../example/)
|
||||
|
||||
add_executable (websocket-tests
|
||||
${BEAST_INCLUDES}
|
||||
@@ -37,5 +34,5 @@ target_link_libraries(websocket-tests
|
||||
)
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
target_link_libraries(websocket-tests ${OPENSSL_LIBRARIES})
|
||||
target_link_libraries(websocket-tests ${OPENSSL_LIBRARIES})
|
||||
endif()
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
GroupSources(extras/beast extras)
|
||||
GroupSources(include/beast beast)
|
||||
|
||||
GroupSources(test/zlib "/")
|
||||
|
||||
if (MSVC)
|
||||
|
||||
Reference in new issue
Block a user