mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
35accc34bc
Summary: This class provides an interface to create an EdenMount for testing and use it through the APIs. It's similar to TestMount for Eden on Posix. Reviewed By: simpkins Differential Revision: D18454852 fbshipit-source-id: 91d64b2c535060979ef634fe4e7779f50f169fc5
33 lines
785 B
CMake
33 lines
785 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.
|
|
|
|
# The files in the eden/fs/win/mount and eden/fs/win/store directories
|
|
# have interlinked dependencies on each other, so they have to be combined into
|
|
# a single library.
|
|
file(GLOB CONFIG_SRCS "mount/*.cpp" "store/*.cpp" "mount/*.h" "store/*.h")
|
|
add_library(
|
|
eden_win STATIC
|
|
${CONFIG_SRCS}
|
|
)
|
|
target_link_libraries(
|
|
eden_win
|
|
PUBLIC
|
|
eden_inodes
|
|
eden_journal
|
|
eden_model
|
|
eden_store
|
|
eden_telemetry
|
|
eden_utils
|
|
eden_service_thrift_util
|
|
eden_win_utils
|
|
Folly::folly
|
|
ProjectedFS
|
|
cpptoml
|
|
)
|
|
|
|
add_subdirectory(utils)
|
|
add_subdirectory(mount/test)
|
|
add_subdirectory(testharness)
|