Files
boost_beast/example/websocket-server/CMakeLists.txt
T
Vinnie Falco 510092d34b Reorganize examples:
* The examples/ directory is renamed to example/

* Each program is in its own directory with its own build scripts
2017-07-20 08:15:26 -07:00

20 lines
445 B
CMake

# Part of Beast
GroupSources(extras/beast extras)
GroupSources(include/beast beast)
GroupSources(example/websocket-server "/")
add_executable (websocket-server
${BEAST_INCLUDES}
main.cpp
websocket_async_echo_server.hpp
websocket_sync_echo_server.hpp
)
if (NOT WIN32)
target_link_libraries(websocket-server ${Boost_LIBRARIES} Threads::Threads)
else()
target_link_libraries(websocket-server ${Boost_LIBRARIES})
endif()