Hi Matthew,
 
We had the same problem.
The easiest way but not the most comfortable one is to put the CMakeCache.txt file on your server, everybody get this file and then everybody will use the same GUIDs.
Although it's not a cross-platform way to do it, we have decided to set a variable called GUID in our CMakeLists.txt files. Then we added the support of this feature in our custom version of CMake. The functions to modified are CreateGUID and GetGUID. If you do so (and if you use source control I guess that one day you will have to), I suggest to create your own generators to keep official CMake features.
 
Sylvain
 
----- Original Message -----

Hey guys,

 

I was wondering if there was any way to instruct cmake to generate the same guidÂ’s for Microsoft projects and solution files?  We would like to have the option of putting the solutions and projects in source control but this poses a problem since the guids are regenerated and differ each time.

 

Thoughts?

 

Thanks.

 

-Matt

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to