mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
76df592222
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
29 lines
541 B
CMake
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)
|