Skip to content

feat: 添加 CMakePresets.json 支持现代化构建配置#31

Merged
IronsDu merged 3 commits into
mainfrom
feat/cmake-presets
Mar 6, 2026
Merged

feat: 添加 CMakePresets.json 支持现代化构建配置#31
IronsDu merged 3 commits into
mainfrom
feat/cmake-presets

Conversation

@IronsDu

@IronsDu IronsDu commented Mar 6, 2026

Copy link
Copy Markdown
Owner
  • 添加 6 个配置预设:debug, release, relwithdebinfo, coverage, clang-debug, clang-release
  • 添加对应的构建预设和测试预设
  • 使用隐藏预设 vcpkg-base 统一 vcpkg 工具链配置
  • 将 CMakeUserPresets.json 添加到 .gitignore

IronsDu and others added 3 commits March 5, 2026 17:40
- 添加 6 个配置预设:debug, release, relwithdebinfo, coverage, clang-debug, clang-release
- 添加对应的构建预设和测试预设
- 使用隐藏预设 vcpkg-base 统一 vcpkg 工具链配置
- 将 CMakeUserPresets.json 添加到 .gitignore

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- build-gcc: 使用 release 预设
- coverage: 使用 coverage 预设
- build-clang: 使用 clang-release 预设
- 移除不再需要的 BUILD_TYPE 环境变量
- 更新构建产物路径

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@IronsDu IronsDu merged commit 4af003e into main Mar 6, 2026
6 checks passed
@IronsDu IronsDu deleted the feat/cmake-presets branch March 6, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant