1# 2# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com) 3# 4# Distributed under the Boost Software License, Version 1.0. (See accompanying 5# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6# 7# Official repository: https://github.com/boostorg/beast 8# 9 10GroupSources(include/boost/beast beast) 11GroupSources(example/websocket/server/chat-multi "/") 12 13file (GLOB APP_FILES 14 beast.hpp 15 http_session.cpp 16 http_session.hpp 17 Jamfile 18 listener.cpp 19 listener.hpp 20 main.cpp 21 net.hpp 22 shared_state.cpp 23 shared_state.hpp 24 websocket_session.cpp 25 websocket_session.hpp 26 chat_client.html 27 README.md 28) 29 30source_group ("" FILES ${APP_FILES}) 31 32add_executable (websocket-chat-multi 33 ${APP_FILES} 34 ${BOOST_BEAST_FILES} 35) 36 37target_link_libraries(websocket-chat-multi 38 lib-asio 39 lib-beast) 40 41set_property(TARGET websocket-chat-multi PROPERTY FOLDER "example-websocket-server") 42