sapling/eden/fs/cli/CMakeLists.txt
Zeyi (Rice) Fan 3e551e4033 cmake: build edenfsctl Rust
Summary: This diff adds the Rust edenfsctl to our open source build.

Reviewed By: xavierd

Differential Revision: D30788685

fbshipit-source-id: 603caa933ecfc5af0ede7e22f6c7911462da3a65
2021-09-29 10:02:09 -07:00

19 lines
513 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 EDENFSCTL_SRCS "*.py" "doctor/*.py")
add_fb_python_executable(
edenfsctl.real
MAIN_MODULE eden.fs.cli.main:zipapp_main
SOURCES ${EDENFSCTL_SRCS}
DEPENDS
eden_py
eden_overlay_thrift_py
eden_service_thrift_py
FBThrift::thrift_py_inspect
python-toml::python-toml
)
install_fb_python_executable(edenfsctl.real)