<div dir="ltr">For future reference:<div><br></div><div>The solution is to delete your build folder and generate the projects again. Not sure what is changed by CMake in 3.0 but VS does not like it unless the build folder is cleaned.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 6:09 PM, Saad Khattak <span dir="ltr"><<a href="mailto:saadrustam@gmail.com" target="_blank">saadrustam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I have a solution with multiple projects including a CMake INSTALL project for installing the binaries. With CMake Version 3.0 I am receiving the following warning for each of my projects in the solution:<br>
</div><div><font face="courier new, monospace">"warning MSB8028: The intermediate directory (myProject.dir\Debug\) contains files shared from another project (myProject.vcxproj). This can lead to incorrect clean and rebuild behavior."</font></div>
<div><br></div><div>where <font face="courier new, monospace">myProject</font><font face="arial, helvetica, sans-serif"> </font>is replaced by the name of each of the projects in the solution.</div><div><br></div><div>Previous cmake versions did not produce this warning with VS 2013. I am not sure how to resolve this warning as the recommended fix is to ensure that the "Intermediate Directory" variable for each project is unique. As far as I can tell, it is indeed unique.</div>
<div><br></div><div>I could not find any topics with respect to this warning and CMake. Appreciate any help regarding this behaviour. If it is deemed a bug, then I will file a bug report.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>- Saad</div>
</font></span></div>
</blockquote></div><br></div>