Refactor CMakeLists

Closes #2471
Closes #1816
This commit is contained in:
Mohammad Nejati authored and Mohammad Nejati committed 2024-11-25 11:41:40 +03:30
1 parent a21250d12d
commit 75e45287fb
82 files changed
+916 -1359

No files matched your search

+6 -13
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,20 +8,12 @@
# Official repository: https://github.com/boostorg/beast
#
GroupSources(include/boost/beast beast)
GroupSources(example/http/client/crawl "/")
add_executable (http-crawl
${BOOST_BEAST_FILES}
add_executable(http-crawl
Jamfile
urls_large_data.hpp
urls_large_data.cpp
http_crawl.cpp
)
urls_large_data.cpp)
target_link_libraries(http-crawl
lib-asio
lib-beast)
set_property(TARGET http-crawl PROPERTY FOLDER "example-http-client")
target_link_libraries(http-crawl PRIVATE Boost::beast)
set_target_properties(http-crawl
PROPERTIES FOLDER "example-http-client")