Fix VS 10 .sln files for Windows Explorer
This commit fixes generated .sln files so they open VS 2010 correctly when double-clicked in Windows Explorer. See issue #9758.
This commit is contained in:
parent
0f0b726f50
commit
4f96af44f6
|
@ -31,7 +31,7 @@ void cmGlobalVisualStudio10Generator::AddPlatformDefinitions(cmMakefile* mf)
|
||||||
void cmGlobalVisualStudio10Generator::WriteSLNHeader(std::ostream& fout)
|
void cmGlobalVisualStudio10Generator::WriteSLNHeader(std::ostream& fout)
|
||||||
{
|
{
|
||||||
fout << "Microsoft Visual Studio Solution File, Format Version 11.00\n";
|
fout << "Microsoft Visual Studio Solution File, Format Version 11.00\n";
|
||||||
fout << "# Visual Studio 10\n";
|
fout << "# Visual Studio 2010\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
///! Create a local generator appropriate to this Global Generator
|
///! Create a local generator appropriate to this Global Generator
|
||||||
|
|
Loading…
Reference in New Issue