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
410 B
CMake
20 lines
410 B
CMake
# Part of Beast
|
|
|
|
GroupSources(extras/beast extras)
|
|
GroupSources(include/beast beast)
|
|
|
|
GroupSources(example/websocket-client "/")
|
|
|
|
add_executable (websocket-client
|
|
${BEAST_INCLUDES}
|
|
${EXTRAS_INCLUDES}
|
|
websocket_client.cpp
|
|
)
|
|
|
|
if (NOT WIN32)
|
|
target_link_libraries(websocket-client ${Boost_LIBRARIES} Threads::Threads)
|
|
else()
|
|
target_link_libraries(websocket-client ${Boost_LIBRARIES})
|
|
endif()
|
|
|