- 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 项断言)
24 lines
277 B
Plaintext
24 lines
277 B
Plaintext
# 构建产物
|
|
build/
|
|
cmake-build-*/
|
|
*.o
|
|
*.a
|
|
*.gcda
|
|
*.gcno
|
|
*.gcov
|
|
coverage/
|
|
|
|
# CLion / IDE 个人文件
|
|
.idea/workspace.xml
|
|
.idea/tasks.xml
|
|
.idea/usage.statistics.xml
|
|
.idea/shelf/
|
|
.idea/dictionaries/
|
|
.idea/*.iml
|
|
|
|
# 运行时产物
|
|
data/logs/*.log
|
|
data/logs/*.log.*
|
|
*.tmp
|
|
*.log
|