MantisBT - CMake
View Issue Details
0007519CMakeCMakepublic2008-08-21 02:332008-09-03 16:23
Tim Patterson 
Bill Hoffman 
normalminoralways
closedfixed 
CMake-2-6 
 
0007519: Visual Studio 9 Generator with ifort compiler produces incorrect project (vfproj) file
There are extra ">" characters incorrectly terminating the ProjectType and Keyword attributes. Later Visual Fortran (10.1) code actually works around these problems, but earlier versions (9.x) fail to load the file at all.
No tags attached.
zip test.zip (2,641) 2008-08-26 20:25
https://public.kitware.com/Bug/file/1688/test.zip
Issue History
2008-08-21 02:33Tim PattersonNew Issue
2008-08-21 09:00Bill HoffmanNote Added: 0013125
2008-08-21 09:01Bill HoffmanStatusnew => assigned
2008-08-21 09:01Bill HoffmanAssigned To => Bill Hoffman
2008-08-26 20:25Tim PattersonFile Added: test.zip
2008-08-26 20:46Tim PattersonNote Added: 0013196
2008-09-03 16:23Bill HoffmanNote Added: 0013281
2008-09-03 16:23Bill HoffmanStatusassigned => closed
2008-09-03 16:23Bill HoffmanNote Added: 0013282
2008-09-03 16:23Bill HoffmanResolutionopen => fixed

Notes
(0013125)
Bill Hoffman   
2008-08-21 09:00   
Can you attach a sample vfproj file? I see this:

<VisualStudioProject ProjectType="typeStaticLibrary" ProjectCreator="Intel Fortran" Version="9.10" ProjectIdGuid="{F16B5E1E-0A06-4CE4-A944-A354AC2C5F7E}">

Looks fine?
(0013196)
Tim Patterson   
2008-08-26 20:46   
I've attached a test case and the output file. Once the file is opened (in Visual Studio 9 SP1 with Visual Fortran 10.1 installed) it appears to be rewritten.
(0013281)
Bill Hoffman   
2008-09-03 16:23   
OK, thanks, I found the problem...
(0013282)
Bill Hoffman   
2008-09-03 16:23   
$ cvs commit -m "BUG: fix for 7519 extra closing > in fortran projects" cmLocalVisualStudio7Generator.cxx
Committer: Bill Hoffman <bill.hoffman@kitware.com>
/cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v <-- cmLocalVisualStudio7Generator.cxx
new revision: 1.229; previous revision: 1.228