Files
ESP32_ZACUS/box3_voice/CMakeLists.txt
T
Claude Worker claude2 13bbb56244 refactor: single scenario_mesh in shared lib/
The component was vendored byte-identical in idf_zacus/components/ and
box3_voice/components/ (documented drift risk). Hoist the single copy
to lib/scenario_mesh, referenced from both projects via
EXTRA_COMPONENT_DIRS in their root CMakeLists. The two deliberate
frame-format reimplementations (puzzle demux in espnow_common, PLIP's
Arduino scenario_now) are now called out in the receiver-patch doc.

All 3 firmwares rebuilt green (p7_coffre, idf_zacus, box3_voice).
2026-06-10 10:50:15 +02:00

10 lines
368 B
CMake

cmake_minimum_required(VERSION 3.16)
# scenario_mesh is shared with idf_zacus and lives in the repo-level lib/
# (single copy, no protocol drift). Project-local components under
# box3_voice/components/ are picked up automatically by ESP-IDF.
set(EXTRA_COMPONENT_DIRS ../lib/scenario_mesh)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(zacus-box3-voice)