sapling/eden/fs/config/CMakeLists.txt
Katie Mancini 76df592222 allow multiple prefixes for paths to be logged
Summary:
Currently we use a single path prefix to configure data fetch logging in eden
(i.e if the path of a file which we fetch is an extension of our configured
path, then we log that data fetch. )

There is some interest in extending this to multiple path prefixes, so that we
can log separate parts repo.

Reviewed By: StanislavGlebik

Differential Revision: D22877942

fbshipit-source-id: f6eb3dcb4fa460b4acab09677e972caf9421ddff
2020-09-02 22:54:23 -07:00

29 lines
541 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.
add_fbthrift_library(
eden_config_thrift
eden_config.thrift
LANGUAGES cpp py
PY_NAMESPACE facebook.eden.eden_config
)
file(GLOB CONFIG_SRCS "*.cpp")
add_library(
eden_config STATIC
${CONFIG_SRCS}
)
target_link_libraries(
eden_config
PUBLIC
eden_config_thrift_cpp
eden_model
eden_utils
cpptoml
${RE2_LIBRARY}
)
add_subdirectory(test)