sapling/eden/fs/telemetry/CMakeLists.txt
Chad Austin ca37294995 introduce a StructuredLogger
Summary:
Introduce a framework that allows recording structured log events
which are encoded as JSON and piped to a configured command line
program.

Reviewed By: pkaush

Differential Revision: D18025183

fbshipit-source-id: ab6b4d510a905a30252f2cff85d107a0d32d149e
2019-10-25 19:29:01 -07:00

28 lines
560 B
CMake

# Copyright (c) Facebook, Inc. and its affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
file(GLOB TELEMETRY_SRCS "*.cpp")
if (WIN32)
list(
REMOVE_ITEM TELEMETRY_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/ScubaStructuredLogger.cpp
${CMAKE_CURRENT_SOURCE_DIR}/SubprocessScribeLogger.cpp
)
endif()
add_library(
eden_telemetry STATIC
${TELEMETRY_SRCS}
)
target_link_libraries(
eden_telemetry
PUBLIC
eden_config
eden_utils
fb303::fb303
Folly::folly
)