开发者

long waiting time in linking

here is the situation. I am using visual studio 2005. the solution contains lots of projects, 34 projects in all, and the start up projects depends on others. then in linking part, it'll wait a long time before the real linking starts. I am pretty sure it's because of too many projects depended, as when I use a solution with 10 开发者_如何学Cof the 34 projects(keep other projects as headers&libs), it'll start instantly.

so any one has any idea that I can reduce the waiting time?

thx.


If 10 is fast and 34 is incredibly slow, you might try adding projects one-at-a-time to the 10-project solution until it gets slow. There may be one particular project that causes the slowness.


You could turn off "Whole Program Optimization", that should speed up the linking for you. Then you could use it in your final stages of release.


Enable the option in link-general-enable Incremental linking

Or Unity Build

will useful for you

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜