2017-07-20 13:40:34 -07:00
|
|
|
#
|
2017-07-24 09:42:36 -07:00
|
|
|
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
2017-07-20 13:40:34 -07:00
|
|
|
#
|
|
|
|
|
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
#
|
|
|
|
|
# Official repository: https://github.com/boostorg/beast
|
|
|
|
|
#
|
2017-06-12 19:16:39 -07:00
|
|
|
|
2017-07-20 13:40:34 -07:00
|
|
|
GroupSources(include/boost/beast beast)
|
2017-06-12 19:16:39 -07:00
|
|
|
GroupSources(example/server-framework "/")
|
2017-06-24 22:24:39 -07:00
|
|
|
GroupSources(example/common "common")
|
|
|
|
|
|
|
|
|
|
file(GLOB_RECURSE SERVER_INCLUDES
|
|
|
|
|
${PROJECT_SOURCE_DIR}/example/server-framework/*.hpp
|
|
|
|
|
)
|
2017-06-12 19:16:39 -07:00
|
|
|
|
|
|
|
|
add_executable (server-framework
|
2017-07-20 13:40:34 -07:00
|
|
|
${BOOST_BEAST_INCLUDES}
|
2017-06-24 22:24:39 -07:00
|
|
|
${COMMON_INCLUDES}
|
2017-06-12 19:16:39 -07:00
|
|
|
${SERVER_INCLUDES}
|
2017-07-20 13:40:34 -07:00
|
|
|
Jamfile
|
2017-06-12 19:16:39 -07:00
|
|
|
main.cpp
|
|
|
|
|
)
|
|
|
|
|
|
2017-06-17 13:42:13 -07:00
|
|
|
if (OPENSSL_FOUND)
|
2017-07-23 17:48:27 -07:00
|
|
|
target_link_libraries(server-framework
|
|
|
|
|
${OPENSSL_LIBRARIES}
|
|
|
|
|
)
|
2017-06-17 13:42:13 -07:00
|
|
|
endif()
|