sambu 578a770737 chore(M0): 建立 CLion/CMake 工程骨架与测试框架
- CMake 多目标工程:shs_core 静态库 + smart_home 可执行 + shs_tests 测试
- CMakePresets.json:debug/release/asan/coverage 四个预设(debug 告警即错误)
- 自研零依赖测试框架 tests/framework/test_framework.h + 运行器(套件过滤、CTest 集成)
- 工具:tools/header_check.sh 头文件独立编译检查(接口冻结门)
- 已实现公共层:errors / string_utils / num_utils,main 启动自检
- 实测:debug 预设 0 告警、ctest 3/3 通过(45 项断言)
2026-09-14 19:34:18 +08:00
S
Description
教材配套实训工程:智能家居控制系统(CLion/CMake C 工程,零第三方依赖)
3.8 MiB
0 Stars 4 Watchers 0 Forks
2026-11-03 08:39:43 +08:00
Languages
C 94.9%
Python 2.3%
Shell 1.8%
CMake 1%