CMake 2.3.6R11<br>VS 2005 (v. 8)<br>WinXP 64<br><br>I have a rather complicated project and when I first generate it the project looks something like this:<br><br><span style="font-family: courier new,monospace;">&lt;?xml version=&quot;1.0&quot; encoding</span><span style="color: rgb(51, 0, 51); background-color: rgb(255, 255, 51); font-family: courier new,monospace;"> = </span><span style="font-family: courier new,monospace;">&quot;Windows-1252&quot;?&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;VisualStudioProject</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; ProjectType=&quot;Visual C++&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; Version=&quot;8.00&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; Name=&quot;rtu&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; ProjectGUID=&quot;{6618B84E-DA3B-4350-A6F0-4D6F5BAB69FD}&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; SccProjectName=&quot;Perforce Project&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; SccLocalPath=&quot;</span><span style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">c:/code/stuff/mysource</span><span style="font-family: courier new,monospace;">&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; SccProvider=&quot;MSSCCI:Perforce SCM&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; Keyword=&quot;Win32Proj&quot;</span><span style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">&gt;</span><br style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &lt;Platforms&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Platform</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Name=&quot;x64&quot;</span><span style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">/&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &lt;/Platforms&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &lt;Configurations&gt;</span><br style="font-family: courier new,monospace;">
...<br><br>After I run a build the projects look something like this:<br><br><span style="font-family: courier new,monospace;">&lt;?xml version=&quot;1.0&quot; encoding</span><span style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">=</span><span style="font-family: courier new,monospace;">&quot;Windows-1252&quot;?&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;VisualStudioProject</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; ProjectType=&quot;Visual C++&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; Version=&quot;8.00&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; Name=&quot;rtu&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; ProjectGUID=&quot;{6618B84E-DA3B-4350-A6F0-4D6F5BAB69FD}&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; SccProjectName=&quot;Perforce Project&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; SccLocalPath=&quot;</span><span style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">..\.</span><span style="font-family: courier new,monospace;"><span style="background-color: rgb(255, 255, 102);">.</span>&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; SccProvider=&quot;MSSCCI:Perforce SCM&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; Keyword=&quot;Win32Proj&quot;</span><br style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">
<span style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &lt;Platforms&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Platform</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Name=&quot;x64&quot;</span><br style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">
<span style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; /&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &lt;/Platforms&gt;</span><br style="font-family: courier new,monospace;">
<span style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &lt;ToolFiles&gt;</span><br style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;"><span style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &lt;/ToolFiles&gt;</span><br style="background-color: rgb(255, 255, 102); font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; &lt;Configurations&gt;</span><br style="font-family: courier new,monospace;"><br>Differences are highlighting in <span style="background-color: rgb(255, 255, 102);">yellow</span> for those of you with HTML email.<br>
<br>What I can&#39;t figure out is who changed the file.&nbsp; Did VS or CMake change the file?&nbsp; The fun part is that if I configure again, CMake writes projects that look like the first again, and after building then it will change to the second causing the projects to reload.&nbsp; Eventually CMake runs out of changes (I have dependencies generated from build processes that cause CMake to regenerate some of the projects) and I get convergence, but this does cause quite a bit of reloading.<br>

<br>I also see this between the first build and after running the build a second time (which causes a reload):<br><br><span style="font-family: courier new,monospace;">CommandLine=&quot;&amp;quot;C:\Program Files (x86)\Programming\CMake 2.6\bin\cmake.exe&amp;quot; -H<span style="background-color: rgb(255, 255, 102);">c</span>:/code/stuff/mysource -BC:/code/stuff/mysource/build-64 --check-stamp-file CMakeFiles/generate.stamp&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">CommandLine=&quot;&amp;quot;C:\Program Files (x86)\Programming\CMake 2.6\bin\cmake.exe&amp;quot; -H<span style="background-color: rgb(255, 255, 102);">C</span>:/code/stuff/mysource -BC:/code/stuff/mysource/build-64 --check-stamp-file CMakeFiles/generate.stamp&quot;</span><br>
<br>The path to -H changes case.<br><br>Thanks,<br>James<br style="font-family: courier new,monospace;"><br>