mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 21:34:46 +02:00
Organize source files in CMakeLists with source_group
This commit is contained in:
committed by
Mohammad Nejati
parent
75e45287fb
commit
827ecf5e93
@@ -12,6 +12,10 @@ add_executable(advanced-server-flex-awaitable
|
||||
Jamfile
|
||||
advanced_server_flex_awaitable.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
advanced_server_flex_awaitable.cpp)
|
||||
|
||||
target_include_directories(advanced-server-flex-awaitable
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(advanced-server-flex
|
||||
Jamfile
|
||||
advanced_server_flex.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
advanced_server_flex.cpp)
|
||||
|
||||
target_include_directories(advanced-server-flex
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(advanced-server
|
||||
Jamfile
|
||||
advanced_server.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
advanced_server.cpp)
|
||||
|
||||
target_link_libraries(advanced-server PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(advanced-server PROPERTIES FOLDER "example-advanced-server")
|
||||
|
@@ -12,6 +12,10 @@ add_executable(echo-op
|
||||
Jamfile
|
||||
echo_op.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
echo_op.cpp)
|
||||
|
||||
target_link_libraries(echo-op PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(echo-op
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-client-async-ssl-system-executor
|
||||
Jamfile
|
||||
http_client_async_ssl_system_executor.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_client_async_ssl_system_executor.cpp)
|
||||
|
||||
target_include_directories(http-client-async-ssl-system-executor
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-client-async-ssl
|
||||
Jamfile
|
||||
http_client_async_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_client_async_ssl.cpp)
|
||||
|
||||
target_include_directories(http-client-async-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-client-async
|
||||
Jamfile
|
||||
http_client_async.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_client_async.cpp)
|
||||
|
||||
target_link_libraries(http-client-async PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-client-async
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-client-awaitable-ssl
|
||||
Jamfile
|
||||
http_client_awaitable_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_client_awaitable_ssl.cpp)
|
||||
|
||||
target_include_directories(http-client-awaitable-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-client-awaitable
|
||||
Jamfile
|
||||
http_client_awaitable.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_client_awaitable.cpp)
|
||||
|
||||
target_link_libraries(http-client-awaitable PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-client-awaitable
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-client-json
|
||||
Jamfile
|
||||
json_client.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
json_client.cpp)
|
||||
|
||||
target_link_libraries(http-client-json PRIVATE Boost::beast Boost::json)
|
||||
|
||||
set_target_properties(http-client-json
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-client-coro-ssl
|
||||
Jamfile
|
||||
http_client_coro_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_client_coro_ssl.cpp)
|
||||
|
||||
target_include_directories(http-client-coro-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-client-coro
|
||||
Jamfile
|
||||
http_client_coro.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_client_coro.cpp)
|
||||
|
||||
target_link_libraries(http-client-coro PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-client-coro
|
||||
|
@@ -13,6 +13,11 @@ add_executable(http-crawl
|
||||
http_crawl.cpp
|
||||
urls_large_data.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_crawl.cpp
|
||||
urls_large_data.cpp)
|
||||
|
||||
target_link_libraries(http-crawl PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-crawl
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-client-methods
|
||||
Jamfile
|
||||
http_client_methods.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_client_methods.cpp)
|
||||
|
||||
target_link_libraries(http-client-methods PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-client-methods
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-client-sync-ssl
|
||||
Jamfile
|
||||
http_client_sync_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_client_sync_ssl.cpp)
|
||||
|
||||
target_include_directories(http-client-sync-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-client-sync
|
||||
Jamfile
|
||||
http_client_sync.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_client_sync.cpp)
|
||||
|
||||
target_link_libraries(http-client-sync PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-client-sync
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-server-async-ssl
|
||||
Jamfile
|
||||
http_server_async_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_server_async_ssl.cpp)
|
||||
|
||||
target_include_directories(http-server-async-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-server-async
|
||||
Jamfile
|
||||
http_server_async.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_server_async.cpp)
|
||||
|
||||
target_link_libraries(http-server-async PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-server-async
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-server-awaitable
|
||||
Jamfile
|
||||
http_server_awaitable.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_server_awaitable.cpp)
|
||||
|
||||
target_link_libraries(http-server-awaitable PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-server-awaitable
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-server-coro-ssl
|
||||
Jamfile
|
||||
http_server_coro_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_server_coro_ssl.cpp)
|
||||
|
||||
target_include_directories(http-server-coro-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-server-coro
|
||||
Jamfile
|
||||
http_server_coro.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_server_coro.cpp)
|
||||
|
||||
target_link_libraries(http-server-coro PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-server-coro
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-server-fast
|
||||
Jamfile
|
||||
http_server_fast.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_server_fast.cpp)
|
||||
|
||||
target_link_libraries(http-server-fast PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-server-fast
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-server-flex
|
||||
Jamfile
|
||||
http_server_flex.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_server_flex.cpp)
|
||||
|
||||
target_include_directories(http-server-flex
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-server-small
|
||||
Jamfile
|
||||
http_server_small.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_server_small.cpp)
|
||||
|
||||
target_link_libraries(http-server-small PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-server-small
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-server-stackless-ssl
|
||||
Jamfile
|
||||
http_server_stackless_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_server_stackless_ssl.cpp)
|
||||
|
||||
target_include_directories(http-server-stackless-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-server-stackless
|
||||
Jamfile
|
||||
http_server_stackless.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_server_stackless.cpp)
|
||||
|
||||
target_link_libraries(http-server-stackless PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-server-stackless
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-server-sync-ssl
|
||||
Jamfile
|
||||
http_server_sync_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_server_sync_ssl.cpp)
|
||||
|
||||
target_include_directories(http-server-sync-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(http-server-sync
|
||||
Jamfile
|
||||
http_server_sync.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
http_server_sync.cpp)
|
||||
|
||||
target_link_libraries(http-server-sync PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(http-server-sync
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-client-async-ssl-system-executor
|
||||
Jamfile
|
||||
websocket_client_async_ssl_system_executor.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_client_async_ssl_system_executor.cpp)
|
||||
|
||||
target_include_directories(websocket-client-async-ssl-system-executor
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-client-async-ssl
|
||||
Jamfile
|
||||
websocket_client_async_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_client_async_ssl.cpp)
|
||||
|
||||
target_include_directories(websocket-client-async-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-client-async
|
||||
Jamfile
|
||||
websocket_client_async.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_client_async.cpp)
|
||||
|
||||
target_link_libraries(websocket-client-async PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(websocket-client-async
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-client-awaitable
|
||||
Jamfile
|
||||
websocket_client_awaitable.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_client_awaitable.cpp)
|
||||
|
||||
target_link_libraries(websocket-client-awaitable PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(websocket-client-awaitable
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-client-coro-ssl
|
||||
Jamfile
|
||||
websocket_client_coro_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_client_coro_ssl.cpp)
|
||||
|
||||
target_include_directories(websocket-client-coro-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-client-coro
|
||||
Jamfile
|
||||
websocket_client_coro.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_client_coro.cpp)
|
||||
|
||||
target_link_libraries(websocket-client-coro PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(websocket-client-coro
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-client-sync-ssl
|
||||
Jamfile
|
||||
websocket_client_sync_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_client_sync_ssl.cpp)
|
||||
|
||||
target_include_directories(websocket-client-sync-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-client-sync
|
||||
Jamfile
|
||||
websocket_client_sync.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_client_sync.cpp)
|
||||
|
||||
target_link_libraries(websocket-client-sync PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(websocket-client-sync
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-server-async-ssl
|
||||
Jamfile
|
||||
websocket_server_async_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_server_async_ssl.cpp)
|
||||
|
||||
target_include_directories(websocket-server-async-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-server-async
|
||||
Jamfile
|
||||
websocket_server_async.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_server_async.cpp)
|
||||
|
||||
target_link_libraries(websocket-server-async PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(websocket-server-async
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-server-awaitable
|
||||
Jamfile
|
||||
websocket_server_awaitable.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_server_awaitable.cpp)
|
||||
|
||||
target_link_libraries(websocket-server-awaitable PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(websocket-server-awaitable
|
||||
|
@@ -23,6 +23,21 @@ add_executable(websocket-chat-multi
|
||||
websocket_session.cpp
|
||||
websocket_session.hpp)
|
||||
|
||||
source_group("" FILES
|
||||
beast.hpp
|
||||
chat_client.html
|
||||
http_session.cpp
|
||||
http_session.hpp
|
||||
Jamfile
|
||||
listener.cpp
|
||||
listener.hpp
|
||||
main.cpp
|
||||
net.hpp
|
||||
shared_state.cpp
|
||||
shared_state.hpp
|
||||
websocket_session.cpp
|
||||
websocket_session.hpp)
|
||||
|
||||
target_link_libraries(websocket-chat-multi PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(websocket-chat-multi
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-server-coro-ssl
|
||||
Jamfile
|
||||
websocket_server_coro_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_server_coro_ssl.cpp)
|
||||
|
||||
target_include_directories(websocket-server-coro-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-server-coro
|
||||
Jamfile
|
||||
websocket_server_coro.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_server_coro.cpp)
|
||||
|
||||
target_link_libraries(websocket-server-coro PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(websocket-server-coro
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-server-fast
|
||||
Jamfile
|
||||
websocket_server_fast.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_server_fast.cpp)
|
||||
|
||||
target_link_libraries(websocket-server-fast PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(websocket-server-fast
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-server-stackless-ssl
|
||||
Jamfile
|
||||
websocket_server_stackless_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_server_stackless_ssl.cpp)
|
||||
|
||||
target_include_directories(websocket-server-stackless-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-server-stackless
|
||||
Jamfile
|
||||
websocket_server_stackless.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_server_stackless.cpp)
|
||||
|
||||
target_link_libraries(websocket-server-stackless PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(websocket-server-stackless
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-server-sync-ssl
|
||||
Jamfile
|
||||
websocket_server_sync_ssl.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_server_sync_ssl.cpp)
|
||||
|
||||
target_include_directories(websocket-server-sync-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@@ -12,6 +12,10 @@ add_executable(websocket-server-sync
|
||||
Jamfile
|
||||
websocket_server_sync.cpp)
|
||||
|
||||
source_group("" FILES
|
||||
Jamfile
|
||||
websocket_server_sync.cpp)
|
||||
|
||||
target_link_libraries(websocket-server-sync PRIVATE Boost::beast)
|
||||
|
||||
set_target_properties(websocket-server-sync
|
||||
|
Reference in New Issue
Block a user