I have recently started using Boost in my C++ projects and noticed a quite a huge delay before the compulation even starts (when 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With