UPDATE: This bug (see below) has been fixed a few days ago. The fix is available in CMake git repo and should be release in the upcoming CMake 2.8.7 release.
What is the difference between these two Visual Studio solution (.sln) files?
They both have been generated using CMake 2.8.6. However, having Visual Studio 11 Developer Preview installed, every time I try to launch the Hello2011.sln
I’m getting mysterious error message: File version is not supported by the launcher.
Quick look at what CMake actually outputs in to .sln confirms there is a bug. CMake generates .sln file signature which does not match release version/name of the Visual Studio 11. In Hello2011.sln
CMake generated:
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2011
but correct version of the output, fixed in Hello11.sln
, is this:
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 11
Bug report submitted to CMake developers.
By the way, I have to admit different icons displayed for correct and incorrect .sln file are quite useful.