We did on a regular basis during a transition period to hook up existing .vcproj files to a CMake generated solution as we were converting fully to CMake. I believe you can control what GUID gets generated by CMake by using target properties in your CMakeLists.txt file:
https://stackoverflow.com/questions/15415007/can-i-get-the-guid-generated-by-cmake-for-a-specific-vcproj-at-cmake-time On Thu, May 19, 2016 at 8:07 AM, Benjamin Ballet via CMake <cmake@cmake.org> wrote: > Hi folks > > Is there a reason not to add a references to a cmake generated project from > a classic visual studio project ? > > Anyone does it on a daily basis ? > > I'm worrying about the generated ProjectGUID : > The guid of the project is stored in the classic visual studio project as > well as in the generated vcxproj. > I guess that guid may be different between two cmake generation ? If then > what will happen ? > > Thank you ! > > -- > Benjamin BALLET > Ingénieur R&D > > ACTIVISU > 19, rue Klock - 92110 Clichy >> Standard Tél : 01 44 69 37 37 >> www.activisu.com > > -- > > 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 -- 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