[CMake] adding a Visual Studio 2005 deployment project to a solution

Bill Hoffman bill.hoffman at kitware.com
Fri Apr 18 11:28:37 EDT 2008


Steffen Froehlich wrote:
> No, I am not mixing version of VS. I attached a small hello world program
> with an installer. This has the same problem.
> 

OK, I see, the .vdproj is a totally different file format....


CMake needs to extract the GUID for the project to use in the .sln file. 
I am not even sure where that is in the file.   If you want to create a 
patch, the file to look at is cmLocalVisualStudio7Generator.cxx.

 From the file you sent, this looks like it might be the GUID:

"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}"

But I am not sure...   You would have to do some reverse engineering 
work to figure it out.  Create a .sln with VS, and put the .vdproj in 
it, and figure out the GUID that is in the .sln that matches some value 
in the .vdproj file.

-Bill



More information about the CMake mailing list