View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011651CMakeCMakepublic2011-01-03 16:402011-01-15 20:57
ReporterMaddes 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformWindowsOSWindows XPOS VersionXP SP3
Product VersionCMake 2.8.3 
Target VersionFixed in Version 
Summary0011651: Generator "Visual Studio 7": Invalid solution file
DescriptionWhen creating solution and project files with CMake -G "Visual Studio 7" then the generated solution file (.sln) is invalid.
Reason is that the introducing header lines state Visual Studio 2008 and not Visual Studio 2002 7.0.

First two lines of generated solution file:
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008

Expected and correct lines would be:
Microsoft Visual Studio Solution File, Format Version 7.00
# Visual Studio 2002

Steps To ReproduceCMake -G "Visual Studio 7"
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0024369)
Bill Hoffman (manager)
2011-01-03 17:18

Can you show the output of the cmake run and attache the CMakeCache.txt file? One thing to try would be to remove the build tree, and try again. If you have already picked the generator, CMake will not switch it.
(0024401)
Maddes (reporter)
2011-01-04 14:58

You are right, there must have been a left over.
Made sure that everything was deleted and re-generated, now the solution file was valid.
Sorry for the inconvenience.

 Issue History
Date Modified Username Field Change
2011-01-03 16:40 Maddes New Issue
2011-01-03 17:18 Bill Hoffman Note Added: 0024369
2011-01-03 17:18 Bill Hoffman Assigned To => Bill Hoffman
2011-01-03 17:18 Bill Hoffman Status new => assigned
2011-01-04 14:58 Maddes Note Added: 0024401
2011-01-04 15:42 Bill Hoffman Status assigned => closed
2011-01-04 15:42 Bill Hoffman Resolution open => no change required


Copyright © 2000 - 2018 MantisBT Team