merge: lane/daemon

This commit is contained in:
2026-09-15 18:46:34 +04:00
+5 -8
View File
@@ -83,17 +83,14 @@ add_library(veloxd_rpc STATIC
src/rpc/ws_server.cpp
src/rpc/pairing.cpp
src/rpc/dispatcher.cpp
# Per-OS backends behind daemon/src/rpc/platform/*.hpp (docs/adr/0020,
# docs/08-porting.md). Only the Linux backend exists (Phase 0); lane PORT adds
# cmake/platform.cmake + platform/macos/ in Phase 1 and this hardcoded list becomes
# a velox_platform_sources() call.
src/rpc/platform/linux/wakeup.cpp
src/rpc/platform/linux/peer_id.cpp
src/rpc/platform/linux/instance_lock.cpp
src/rpc/platform/linux/runtime_paths.cpp
)
add_library(velox::daemon_rpc ALIAS veloxd_rpc)
# Per-OS backends behind daemon/src/rpc/platform/*.hpp (docs/adr/0020, docs/08-porting.md).
# Source selection lives in cmake/platform.cmake and nowhere else — PORT adds
# platform/macos/ with no edit here.
velox_platform_sources(veloxd_rpc src/rpc)
target_include_directories(veloxd_rpc PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src)
target_compile_features(veloxd_rpc PUBLIC cxx_std_23)
target_compile_options(veloxd_rpc PRIVATE -Wall -Wextra -Wpedantic -Werror)