forked from boostorg/beast
* The examples/ directory is renamed to example/ * Each program is in its own directory with its own build scripts
20 lines
445 B
CMake
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()
|