<commit_before># Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

add_library(
  mvfst_cc_algo STATIC
  Bandwidth.cpp
  Bbr.cpp
  BbrBandwidthSampler.cpp
  BbrRttSampler.cpp
  CongestionControlFunctions.cpp
  CongestionControllerFactory.cpp
  Copa.cpp
  NewReno.cpp
  QuicCubic.cpp
  QuicCCP.cpp
  Pacer.cpp
)

target_include_directories(
  mvfst_cc_algo PUBLIC
  $<BUILD_INTERFACE:${QUIC_FBCODE_ROOT}>
  $<INSTALL_INTERFACE:include/>
)

target_compile_options(
  mvfst_cc_algo
  PRIVATE
  ${_QUIC_COMMON_COMPILE_OPTIONS}
)

add_dependencies(
  mvfst_cc_algo
  mvfst_constants
  mvfst_exception
  mvfst_state_machine<commit_msg>Add ServerCongestionControllerFactory to CMakeLists<commit_after># Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

add_library(
  mvfst_cc_algo STATIC
  Bandwidth.cpp
  Bbr.cpp
  BbrBandwidthSampler.cpp
  BbrRttSampler.cpp
  CongestionControlFunctions.cpp
  CongestionControllerFactory.cpp
  Copa.cpp
  NewReno.cpp
  QuicCubic.cpp
  QuicCCP.cpp
  Pacer.cpp
  ServerCongestionControllerFactory.cpp
)

target_include_directories(
  mvfst_cc_algo PUBLIC
  $<BUILD_INTERFACE:${QUIC_FBCODE_ROOT}>
  $<INSTALL_INTERFACE:include/>
)

target_compile_options(
  mvfst_cc_algo
  PRIVATE
  ${_QUIC_COMMON_COMPILE_OPTIONS}
)

add_dependencies(
  mvfst_cc_algo
  mvfst_constants
  mvfst_exception
  mvfst_state_machine
{'fraction_non_alphanumeric': 0.058564231738035266, 'fraction_numerical': 0.0, 'mean_word_length': 5.111538461538461, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6068348', 'n_tokens_mistral': 604, 'n_tokens_neox': 594, 'n_words': 119}