sapling/eden/fs/model/CMakeLists.txt
Xavier Deguillard e6ac99b269 model: add tests to CMake
Summary:
The modeFromEntryType and treeEntryTypeFromMode tests for symlinks and
executable had to be disabled as these function explicitely do not support
these. Since mode bits are a bit meaningless on Windows, this is probably OK.

Reviewed By: chadaustin

Differential Revision: D21341728

fbshipit-source-id: 86acf24d9ab67a02ecab33b7ebe82a456295fc3c
2020-05-07 10:07:32 -07:00

20 lines
376 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 MODEL_SRCS "*.cpp")
add_library(
eden_model STATIC
${MODEL_SRCS}
)
target_link_libraries(
eden_model
PUBLIC
eden_utils
Folly::folly
)
add_subdirectory(git)
add_subdirectory(test)