模拟器构建修复:CMakeLists配置引擎引用同步至App/cfg/与test/board/(重构遗留),--cfgtest四场景PASS,跨机验证清单⑤行更新

This commit is contained in:
2026-10-02 23:09:53 +08:00
parent c441131db6
commit bf025e6f10
3 changed files with 9 additions and 7 deletions
+6 -5
View File
@@ -52,10 +52,11 @@ include_directories(
${UI_DIR} # ui_menu.h, ui_font_cn_12.h
${NET_DIR} # net_socket.h / net_types.h(net_* API 双端共享核心)
${NETCFG_DIR} # net_cfg.h(网络配置,双端共享核心)
${PROJECT_ROOT}/test # test_config.h / net_latency_test.h(共享核心
# ui_net_sink.c、net_socket.c 引含;探针默认关闭,
# 声明宿主安全;2026-09-21 修复模拟器构建断链)
${PROJECT_ROOT}/App # cfg_file.h / cfg_file_store.h(通用配置文件引擎,双端共享核心)
${PROJECT_ROOT}/test/board # test_config.h / net_latency_test.h(共享核心
# ui_net_sink.c、net_socket.c 引含;探针默认关闭,
# 声明宿主安全;2026-09-21 修复模拟器构建断链;
# 2026-10-02 测试目录重构后头文件移入 test/board/)
${PROJECT_ROOT}/App/cfg # cfg_file.h / cfg_file_store.h(通用配置文件引擎,双端共享核心)
${PROJECT_ROOT}/App/log # sys_log.h(运行/自检记录引擎,双端共享核心)
${PROJECT_ROOT}/Drivers/BSP # dbg_log.h(使用 simulator 的 dbg_cfg.h 配置)
${SDL2_DIR}/include # SDL2 头文件
@@ -104,7 +105,7 @@ set(SYSLOG_SOURCES
set(NETCFG_SOURCES
${NETCFG_DIR}/net_cfg.c
${NETCFG_DIR}/net_cfg_legacy.c
${PROJECT_ROOT}/App/cfg_file.c
${PROJECT_ROOT}/App/cfg/cfg_file.c
sim/cfg_file_store_sim.c
)