Files
boost_beast/test/server/CMakeLists.txt
T

40 lines
852 B
CMake
Raw Normal View History

# Part of Beast
2017-06-20 16:56:28 -07:00
GroupSources(example/server-framework framework)
2017-06-25 11:09:24 -07:00
GroupSources(example/common common)
2017-06-20 16:56:28 -07:00
GroupSources(extras/beast extras)
GroupSources(include/beast beast)
2017-06-20 16:56:28 -07:00
GroupSources(test/server "/")
2017-06-20 16:56:28 -07:00
add_executable (server-test
${BEAST_INCLUDES}
2017-06-25 11:09:24 -07:00
${COMMON_INCLUDES}
2017-06-20 16:56:28 -07:00
${SERVER_INCLUDES}
../../extras/beast/unit_test/main.cpp
file_service.cpp
framework.cpp
http_async_port.cpp
http_base.cpp
http_sync_port.cpp
https_ports.cpp
multi_port.cpp
server.cpp
service_list.cpp
ssl_certificate
tests.cpp
ws_async_port.cpp
ws_sync_port.cpp
ws_upgrade_service.cpp
wss_ports.cpp
)
2017-06-20 16:56:28 -07:00
target_link_libraries(server-test
Beast
${Boost_PROGRAM_OPTIONS_LIBRARY}
${Boost_FILESYSTEM_LIBRARY}
2017-06-19 09:01:56 -07:00
)
2017-06-20 16:56:28 -07:00
if (OPENSSL_FOUND)
2017-06-20 17:16:07 -07:00
target_link_libraries (server-test ${OPENSSL_LIBRARIES})
endif()