CMakeLists.txt 695 B

1234567891011121314151617181920212223242526
  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. GroupSources(include/boost/beast beast)
  10. GroupSources(example/common common)
  11. GroupSources(example/http/server/fast "/")
  12. add_executable (http-server-fast
  13. ${BOOST_BEAST_FILES}
  14. ${COMMON_FILES}
  15. Jamfile
  16. fields_alloc.hpp
  17. http_server_fast.cpp
  18. )
  19. target_link_libraries(http-server-fast
  20. lib-asio
  21. lib-beast)
  22. set_property(TARGET http-server-fast PROPERTY FOLDER "example-http-server")