diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt index fe73e4d..2686426 100644 --- a/daemon/CMakeLists.txt +++ b/daemon/CMakeLists.txt @@ -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)