开发者

long waiting time in linking

开发者 https://www.devze.com 2022-12-28 03:23 出处:网络
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.

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

精彩评论

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

关注公众号