CMakeLists.txt 806 B

12345678910111213141516171819202122232425262728293031
  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 (test/extras/include/boost/beast extras)
  12. GroupSources (test/example/common "/")
  13. add_executable (tests-example-common
  14. ${BOOST_BEAST_FILES}
  15. ${COMMON_FILES}
  16. ${EXTRAS_FILES}
  17. Jamfile
  18. root_certificates.cpp
  19. server_certificate.cpp
  20. )
  21. target_link_libraries(tests-example-common
  22. lib-asio
  23. lib-asio-ssl
  24. lib-beast
  25. lib-test
  26. )
  27. set_property(TARGET tests-example-common PROPERTY FOLDER "tests")