Refactor CMakeLists

Closes #2471
Closes #1816
This commit is contained in:
Mohammad Nejati
2024-11-25 11:41:40 +03:30
committed by Mohammad Nejati
parent a21250d12d
commit 75e45287fb
82 changed files with 916 additions and 1359 deletions
+9 -14
View File
@@ -1,5 +1,6 @@
#
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
# Copyright (c) 2024 Mohammad Nejati
#
# 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)
@@ -7,23 +8,17 @@
# Official repository: https://github.com/boostorg/beast
#
GroupSources (include/boost/beast beast)
GroupSources (test/beast/http "/")
GroupSources (test/bench/parser "/")
add_executable (bench-parser
${BOOST_BEAST_FILES}
add_executable(bench-parser
Jamfile
${PROJECT_SOURCE_DIR}/test/beast/http/message_fuzz.hpp
nodejs_parser.hpp
nodejs_parser.cpp
bench_parser.cpp
)
bench_parser.cpp)
target_include_directories(bench-parser
PRIVATE ${PROJECT_SOURCE_DIR})
target_link_libraries(bench-parser
lib-asio
lib-beast
lib-test
)
lib-test)
set_property(TARGET bench-parser PROPERTY FOLDER "tests-bench")
set_target_properties(bench-parser
PROPERTIES FOLDER "tests-bench")