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

# Auto-generated by quic/facebook/generate_cmake.py - DO NOT EDIT MANUALLY

mvfst_add_library(mvfst_logging_qlogger_constants
  SRCS
    QLoggerConstants.cpp
  EXPORTED_DEPS
    mvfst_codec_types
    mvfst_constants
)

mvfst_add_library(mvfst_logging_qlog_schema
  SRCS
    QLogSchema.cpp
  DEPS
    mvfst_logging_qlogger_constants
  EXPORTED_DEPS
    mvfst_constants
    Folly::folly_json_dynamic
)

mvfst_add_library(mvfst_logging_qlogger
  SRCS
    QLogger.cpp
  EXPORTED_DEPS
    mvfst_codec_types
    mvfst_logging_qlogger_constants
    mvfst_priority_priority_queue
)

mvfst_add_library(mvfst_logging_qlogger_macros
  EXPORTED_DEPS
    mvfst_logging_qlogger
)

mvfst_add_library(mvfst_logging_base_qlogger
  SRCS
    BaseQLogger.cpp
    QLoggerTypes.cpp
  DEPS
    mvfst_common_string_utils
    mvfst_exception
    Folly::folly_lang_bits
  EXPORTED_DEPS
    mvfst_codec_types
    mvfst_logging_qlogger
    mvfst_logging_qlogger_constants
    mvfst_priority_priority_queue
    Folly::folly_dynamic
)

mvfst_add_library(mvfst_logging_file_qlogger
  SRCS
    FileQLogger.cpp
  DEPS
    mvfst_common_mvfst_logging
    Folly::folly_dynamic
  EXPORTED_DEPS
    mvfst_codec_types
    mvfst_logging_base_qlogger
    mvfst_logging_qlog_schema
    mvfst_logging_qlogger_constants
    Folly::folly_compression_compression
    Folly::folly_dynamic
    Folly::folly_logging_logging
)

mvfst_add_library(mvfst_logging_qlogger_common
  SRCS
    QLoggerCommon.cpp
  EXPORTED_DEPS
    mvfst_logging_base_qlogger
    mvfst_logging_qlogger_constants
)

add_subdirectory(oops_logger)

add_subdirectory(test)
