blob: 27a4a1254e7738f040051cb45432b3e6d45be098 (
plain) (
tree)
|
|
# -*- mode: cmake; -*-
# The nix-daemon is the binary running the gRPC server component to
# which other components of Nix talk to perform store and builder
# operations.
add_executable(nix-daemon)
include_directories(${PROJECT_BINARY_DIR}) # for config.h
set_property(TARGET nix-daemon PROPERTY CXX_STANDARD 17)
target_sources(nix-daemon
PRIVATE
nix-daemon-proto.hh
nix-daemon-proto.cc
nix-daemon.cc
)
target_link_libraries(nix-daemon
nixutil
nixstore
nixmain
absl::flags
absl::flags_parse
)
install(TARGETS nix-daemon DESTINATION bin)
|