CMakeLists.txt 745 B

1234567891011121314151617181920212223242526272829
  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 (test/beast/http "/")
  11. GroupSources (test/bench/parser "/")
  12. add_executable (bench-parser
  13. ${BOOST_BEAST_FILES}
  14. Jamfile
  15. ${PROJECT_SOURCE_DIR}/test/beast/http/message_fuzz.hpp
  16. nodejs_parser.hpp
  17. nodejs_parser.cpp
  18. bench_parser.cpp
  19. )
  20. target_link_libraries(bench-parser
  21. lib-asio
  22. lib-beast
  23. lib-test
  24. )
  25. set_property(TARGET bench-parser PROPERTY FOLDER "tests-bench")