MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010483 | CMake | CMake | public | 2010-03-30 03:03 | 2010-09-09 23:59 |
| Reporter | Conrad | ||||
| Assigned To | |||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | CMake 2.8.3 | Fixed in Version | CMake 2.8.3 | ||
| Summary | 0010483: Visual Studio 2010 *.vcxproj file parsing for INCLUDE_EXTERNAL_MSPROJECT: ProjectGUID now ProjectGuid | ||||
| Description | We use the INCLUDE_EXTERNAL_MSPROJECT for the third-party package Xerces. I used the latest VS 2010 release candidate to upgrade the third-party package's old VS 9 Xerces.vcproj files to VS 2010 Xerces.vcxproj files. The resulting Xerces.vcxproj file was not correctly imported into the CMake-generated 3rdParty.sln solution because its GUID was not successfully parsed. The same problem occurs with all five other packages that we import with INCLUDE_EXTERNAL_MSPROJECT as well, so it's not Xerces-specific. Examining the VS 2010-generated Xerces.vcxproj files in a text editor, I saw that the XML was: <PropertyGroup Label="Globals"> <ProjectGuid>{152CE948-F659-4206-A50A-1D2B9658EF96}</ProjectGuid> </PropertyGroup> Note the GUID element name is "ProjectGuid" rather than the old "ProjectGUID". I fixed this in the CMake source code by changing a single line in cmLocalVisualStudio10Generator.cxx from: if(strcmp("ProjectGUID", name) == 0) to: // VS 2010 betas: "ProjectGUID". 2010-03-27 release candidate: "ProjectGuid" if(strcmp("ProjectGUID", name) == 0 || strcmp("ProjectGuid", name) == 0) This fixes the problem in my version of the code. I'm new to git and probably don't have commit access. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-03-30 03:03 | Conrad | New Issue | |||
| 2010-07-10 21:38 | Conrad | Note Added: 0021348 | |||
| 2010-07-13 09:17 | Bill Hoffman | Note Added: 0021377 | |||
| 2010-07-13 09:17 | Bill Hoffman | Status | new => closed | ||
| 2010-07-13 09:17 | Bill Hoffman | Resolution | open => fixed | ||
| 2010-09-09 23:59 | David Cole | Fixed in Version | => CMake 2.8.3 | ||
| 2010-09-09 23:59 | David Cole | Target Version | => CMake 2.8.3 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||