fix(build): build.ps1 CMake 缓存路径不匹配问题#47
Open
Thankyou-Cheems wants to merge 1 commit intoyuaotian:mainfrom
Open
fix(build): build.ps1 CMake 缓存路径不匹配问题#47Thankyou-Cheems wants to merge 1 commit intoyuaotian:mainfrom
Thankyou-Cheems wants to merge 1 commit intoyuaotian:mainfrom
Conversation
Contributor
Thankyou-Cheems
commented
Feb 6, 2026
- 在配置阶段检测 CMake 缓存/源码路径,若不匹配,清理后重试一次
- 解决仓库迁移到新绝对路径后构建直接失败的问题
- Detect CMake cache/source path mismatch during configure and retry once after cleaning build directory - Prevent build failure when repository is moved to a different absolute path - Keep normal configure/build flow unchanged for clean workspaces fix(build): 自动恢复 CMake 缓存路径不匹配问题 - 在配置阶段检测 CMake 缓存/源码路径不匹配并清理后重试一次 - 解决仓库迁移到新绝对路径后构建直接失败的问题 - 对干净工作区保持原有配置和编译流程不变
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.