-
-
Notifications
You must be signed in to change notification settings - Fork 774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rebuild一个target,总会引起他依赖的target也rebuild #4154
Comments
Title: rebuild a target, it will always cause the target it depends on to rebuild Xmake version2.8.1 OS version and architecturewindows10 Describe the problemRebuild a target, and the targets it depends on will also trigger recompilation. For some large top-level targets, the recompilation time is unbearable. Expected resultsOnly rebuild the target I specify, provided that the target of the dependency has not been changed. Project configurationnone Additional information and error logsWithout |
目前只能全局 rebuild,要做成 target 粒度 rebuild 需要做部分重构,可能得费点时间 |
At present, only the global rebuild is possible. To achieve a target granular rebuild, partial refactoring is required, which may take some time. |
改了下,再试试
|
默认行为不变,还是会自动重建所有依赖 xmake -r target 如果仅仅 rebuild 当前指定的 target,加 xmake -r --shallow target |
我已经 merge 到 dev 了。 |
I have merged to dev. |
Xmake 版本
2.8.1
操作系统版本和架构
windows10
描述问题
重新构建一个target,他依赖的target也会触发重新编译。这在某些大的顶层target,不可忍受重新编译的时长。
期待的结果
只重建我指定的target,在依赖项的target没被改动过的前提下。
工程配置
无
附加信息和错误日志
无
The text was updated successfully, but these errors were encountered: