sapling/eden/integration/helpers/CMakeLists.txt
Adam Simpkins cadcd0ab39 enable building the integration helper tools in the CMake build
Summary:
Enable building fake_edenfs.cpp and TakeoverTool.cpp in the CMake build.

This includes a few changes to get `fake_edenfs.cpp` closer to building on
Windows, but at the moment it still does not fully build since the
`StartupLogger` is currently not compiled on Windows.

TakeoverTool.cpp is specific to the graceful restart tests, and doesn't make
sense to ever build on Windows.

Reviewed By: wez

Differential Revision: D21214614

fbshipit-source-id: a7a8306ea3f69579fa02bd3753a66d3095ea004a
2020-04-24 14:48:05 -07:00

22 lines
584 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(NOT WIN32)
# TODO: fake_edenfs currently does not build on Windows, but we should
# eventually get it working there.
add_executable(fake_edenfs fake_edenfs.cpp)
target_link_libraries(
fake_edenfs
eden_config
eden_inodes
eden_service
)
endif()
if(NOT WIN32)
add_executable(takeover_tool TakeoverTool.cpp)
target_link_libraries(takeover_tool eden_takeover Folly::folly)
endif()