build: migrate from ctx to pure CMake + Conan 2 #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "migrate/cmake-manual"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
概述
项目构建系统从 ctx 迁移到纯 CMake + Conan 2。
变更
cpps.toml,项目完全脱离 ctx 工具依赖conanfile.py:手动 layout + CMakeDeps + CMakeToolchainCMakePresets.json:Ninja + debug/release 分离 presetmodules/*→src/{foundation,data,protocol,app,tools}/*yaml-cpp/0.8.0)photolink_*+ ALIAS 向后兼容copy/历史残留、tools/logviewer/重复模块tools/*独立工具迁移到src/tools/.opencode/agents/cpp-developer.md和AGENTS.mddoc/migration_plan.md完整迁移方案.gitignore构建验证
预存失败(与迁移前一致)
删除 cpps.toml,重写 conanfile.py/CMakePresets.json/全部 CMakeLists.txt 模块按5层架构重组: modules/* -> src/{foundation,data,protocol,app,tools}/* yaml-cpp 从系统安装改为 Conan 2 依赖(yaml-cpp/0.8.0) 目标名统一: photolink_* + ALIAS 向后兼容 删除 copy/ 历史残留、tools/logviewer/ 重复模块 taos_writer 条件编译(需 TDengine) 更新 .opencode/agents/cpp-developer.md 和 AGENTS.md 构建验证: 166 targets 编译通过, 11/11 核心测试通过View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.