sapling/eden/fs/store/CMakeLists.txt
Yipu Miao 10dd235a48 creating RE CAS backing store with everything unimplemented.
Summary: Create a RE-CAS backing store with all APIs unimplemented, and Linux only.

Reviewed By: chadaustin

Differential Revision: D27771047

fbshipit-source-id: de00c6e290f924872eae7290b1945e6b3f40d610
2021-04-28 14:59:39 -07:00

44 lines
722 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 STORE_SRCS "*.cpp")
list(
REMOVE_ITEM STORE_SRCS
"${CMAKE_CURRENT_SOURCE_DIR}/eden_store_util.cpp"
)
add_library(
eden_store STATIC
${STORE_SRCS}
)
target_link_libraries(
eden_store
PUBLIC
eden_config
eden_model
eden_model_git
eden_service_thrift_cpp
eden_sqlite
fb303::fb303
)
target_link_libraries(
eden_store
PUBLIC
eden_rocksdb
)
add_subdirectory(hg)
if("${EDEN_HAVE_RECAS}")
add_subdirectory(recas)
endif()
if("${EDEN_HAVE_GIT}")
add_subdirectory(git)
endif()
add_subdirectory(test)