sapling/eden/fs/CMakeLists.txt
Puneet Kaushik 4c720d12c1 hg status tests for Eden Windows
Summary: This diff contains the tests for hg status. This is not comprehensive list of tests but the tests that we have working at this time. More tests will be added as we test and fix issues.

Reviewed By: simpkins

Differential Revision: D18454851

fbshipit-source-id: 80e3ff4d24873016dc420f202fbfe53fcffc24f2
2019-12-10 14:07:26 -08:00

55 lines
1003 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.
if(WIN32)
add_executable(
edenfs
win/service/main.cpp
)
else()
add_executable(
edenfs
service/oss/main.cpp
)
endif()
install(TARGETS edenfs RUNTIME DESTINATION bin)
target_include_directories(
edenfs
PUBLIC
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}
)
target_link_libraries(
edenfs
eden_service
Folly::folly
)
if (WIN32)
add_compile_definitions(_UNICODE UNICODE)
endif()
add_subdirectory(config)
add_subdirectory(inodes)
add_subdirectory(journal)
add_subdirectory(model)
add_subdirectory(service)
add_subdirectory(sqlite)
add_subdirectory(store)
add_subdirectory(telemetry)
add_subdirectory(utils)
add_subdirectory(testharness)
# Platform specific code
if (WIN32)
add_subdirectory(win)
else()
add_subdirectory(fuse)
add_subdirectory(rocksdb)
add_subdirectory(takeover)
endif()