开发者

Boost really slows down the compilation on VS2005

I have recently started using Boost in my C++ projects and noticed a quite a huge delay before the compulation even starts (whe开发者_运维技巧n I hit the re-build I have to wait for 5 minutes for compilation to start).

I have run the Filemon and it shown me that all that time the Visual Studio was idle devenv.exe was probing thru Boost include directories.

Any ideas how could I get speed the compilation up without throwing Boost away from the proect?

Thank you.


You probably added boost include directories straight to the 'Project Settings > C/C++ > General > Additional Include directories'. Visual Studio keeps track of project dependencies to provide a minimal recompilation when something has changed (this is not connected with IntelliSense).

If you did, move the boost includes to your VS include path - this is where they belong and they will never get checked by VS when you compile the project. If you didn't, there might be some other link to the boost dirs in the Project Settings.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜