For future reference:

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.


On Wed, Sep 3, 2014 at 6:09 PM, Saad Khattak <saadrus...@gmail.com> wrote:

> 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:
> "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."
>
> where myProject is replaced by the name of each of the projects in the
> solution.
>
> 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.
>
> 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.
>
> - Saad
>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to