Tidy up CMakeLists.txt

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:28 -07:00
1 parent 3ff585d36e
commit 26b5e91725
14 files changed
+41 -45

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ if ((NOT "${VARIANT}" STREQUAL "coverage") AND
GroupSources(extras/beast extras)
GroupSources(include/beast beast)
GroupSources(test "/")
add_executable (lib-tests
+1
View File
@@ -2,6 +2,7 @@
GroupSources(extras/beast extras)
GroupSources(include/beast beast)
GroupSources(test/benchmarks "/")
GroupSources(test/http "/")
+1
View File
@@ -3,6 +3,7 @@
GroupSources(examples examples)
GroupSources(extras/beast extras)
GroupSources(include/beast beast)
GroupSources(test/core "/")
add_executable (core-tests
+1 -5
View File
@@ -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()
+3 -6
View File
@@ -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()
+1
View File
@@ -2,6 +2,7 @@
GroupSources(extras/beast extras)
GroupSources(include/beast beast)
GroupSources(test/zlib "/")
if (MSVC)