mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 00:50:35 +00:00
this is a part of a series to migrating from `operator<<(ostream&, ..)` based formatting to fmtlib based formatting. the goal here is to enable fmtlib to print `stream_reason` without the help of `operator<<`. please note, because we still cannot use the generic formatter for std::unordered_map provided by fmtlib, so in order to drop `operator<<` for `stream_reason`, and to print `unordered_map<stream_reason>`, `fmt::join()` is used as a temporary solution. we will audit all `fmt::join()` calls, after removing the homebrew formatter of `std::unordered_map`. the corresponding `operator<<()` are dropped dropped in this change, as all its callers are now using fmtlib for formatting now. Refs #13245 Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes #13609
27 lines
561 B
CMake
27 lines
561 B
CMake
add_library(streaming STATIC)
|
|
target_sources(streaming
|
|
PRIVATE
|
|
consumer.cc
|
|
progress_info.cc
|
|
session_info.cc
|
|
stream_coordinator.cc
|
|
stream_manager.cc
|
|
stream_plan.cc
|
|
stream_receive_task.cc
|
|
stream_request.cc
|
|
stream_result_future.cc
|
|
stream_session.cc
|
|
stream_session_state.cc
|
|
stream_summary.cc
|
|
stream_task.cc
|
|
stream_transfer_task.cc)
|
|
target_include_directories(streaming
|
|
PUBLIC
|
|
${CMAKE_SOURCE_DIR})
|
|
target_link_libraries(streaming
|
|
PUBLIC
|
|
Seastar::seastar
|
|
xxHash::xxhash
|
|
PRIVATE
|
|
replica)
|