mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
4b2a6b7f16
Reviewed By: genevievehelsel Differential Revision: D20909616 fbshipit-source-id: 5bd8cc386dc1a5fdfaf2c4fd0cabbb18da1ed179
40 lines
662 B
CMake
40 lines
662 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_GIT}")
|
|
add_subdirectory(git)
|
|
endif()
|
|
|
|
add_subdirectory(test)
|