Excessive rebuilds

I have quite a bit of base code (a bunch of header files) that I reuse for many of my programs; I store them in a folder /Common Code/, and it has always worked fine. Just yesterday, without (knowingly) doing anything wrong, any program that I have that includes these header files forces a rebuild of all source files whenever I try to run or compile it, even when I haven't changed any code.
I'm guessing that I accidentally toggled some command in the Visual Studio environment, but I've searched around the menus for a while and couldn't find anything. Does anyone know of any possible reason?
Thanks,
Jesse Beder
[642 byte] By [JesseBeder] at [2007-12-16]
# 1
Have you added these into a precompiled header? It could be that they are all part of the precompiled header built off of stdafx and thus any change causes a quasi-full rebuild. It's hard to guess beyond that. Can you recall what parts of the project/solution/IDE options you may have changed?
Thanks
BorisJabes at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 2

Unfortunately there is no easy way to diagnose this.

The first place to check is the build log. We output a warning in some cases that force us to always rebuild.

If we don't output a warning, you're pretty much down to checking the dependencies manually in order to identify where they were set incorrectly.

I'm sorry I can't offer more help without actually seeing the project file.

Thanks,

TarekMadkourMS at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 3
There's a C++ compiler flag /showIncludes that causes the compiler to output the #include dependencies while your projects are being built. Maybe this might help to see if there is in fact an unexpected dependency or perhaps provide evidence of a bug.

To add it, go to Project Properties, C/C++, Command Line, and type the flag in under Additional Options.

Another thought: while I'm not certain how VS computes file dependencies, I wonder if preprocessor definitions around #includes might be at play here. Certain files may not be included, but the VS dependency checker counts the dependency anyway.

Brian_Kramer at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...