[CMake] MSBuild and automatic project file regenation
Bill Hoffman
bill.hoffman at kitware.com
Mon Feb 13 11:41:57 EST 2012
On 2/13/2012 11:26 AM, Michael Hertling wrote:
> OK, I see. So, it's a shortcoming of VS, if I understand correctly: No
> dependency of object files on project files, and I guess that this is
> not amendable by the means of CMake.
>
...
>
> I.e., in order to trigger a rebuild with VS, an actual change in the
> sources must have taken place - good to know. Many thanks, Bill and
> Aaron, for spending time on this issue.
>
So, I suppose you could configure a header file with all the options
used put into a comment block, and then include that in all of your
sources. That would be a way of getting around the limitation in VS.
-Bill
More information about the CMake
mailing list