MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0014038 | CMake | (No Category) | public | 2013-03-22 16:35 | 2013-10-07 10:04 | |||||
Reporter | szx | |||||||||
Assigned To | Brad King | |||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||
Status | closed | Resolution | fixed | |||||||
Platform | OS | OS Version | ||||||||
Product Version | CMake 2.8.10.2 | |||||||||
Target Version | CMake 2.8.11 | Fixed in Version | CMake 2.8.11 | |||||||
Summary | 0014038: Generate different .sln header for Express edition of Visual Studio | |||||||||
Description | When you open a CMake-generated .sln file in Visual Studio 2012 Express and you have another version of Visual Studio installed (like VC++ 2010 Express), a selection dialog will show up offering you to choose which version of Visual Studio to use to open the solution file. However if you create a solution from within Visual Studio 2012 Express itself, there will be no dialog when you open the solution but it will open immediately in VS 2012 Express. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | I've done a bit of research on the subject and found that the second line of .sln files created by VS 2012 Express is different from that of generated by CMake: This is how Visual Studio does it: # Visual Studio 2012 Express for Windows Desktop This is how CMake does it: # Visual Studio 11 This isn't specific to VS 2012 only. For instance, Visual C++ 2010 Express seems to use the same scheme too. I managed to extract all possible identification strings from one of the VS executables (namely WDExpress.exe), and here they are: # Visual Studio 2010\r\n # Visual Basic Express 2010\r\n # Visual C# Express 2010\r\n # Visual C++ Express 2010\r\n # Visual Web Developer Express 2010\r\n # Visual Studio 2010 Tools for Applications\r\n # Rascal (2010 Version)\r\n # Visual Studio 10\r\n # Visual Basic Express 10\r\n # Visual C# Express 10\r\n # Visual C++ Express 10\r\n # Visual Web Developer Express 10\r\n # Visual Studio 10 Tools for Applications\r\n # Rascal (Version 10)\r\n # Visual Studio 2010 Express for Windows Phone\r\n # Visual Studio 11\r\n # Visual Web Developer Express 11\r\n # Rascal (Version 11)\r\n # Visual Studio 11 Express for Windows Phone\r\n # Visual Studio 11 Express for Windows 8\r\n # Visual Studio 2012\r\n # Visual Studio Express 2012 for Web\r\n # Rascal (2012 Version)\r\n # Visual Studio Express 2012 for Windows Phone\r\n # Visual Studio Express 2012 for Windows 8\r\n # Visual Studio Express 2012 for Windows Desktop\r\n Some of them have nothing to do with C++ though but I listed them for completeness. | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | vs-express-sln.patch (1,664) 2013-03-23 05:34 https://public.kitware.com/Bug/file/4692/vs-express-sln.patch | |||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2013-03-22 16:35 | szx | New Issue | ||||||||
2013-03-23 05:34 | szx | File Added: vs-express-sln.patch | ||||||||
2013-03-25 13:33 | Brad King | Relationship added | related to 0009758 | |||||||
2013-03-25 14:28 | Brad King | Note Added: 0032696 | ||||||||
2013-03-25 14:28 | Brad King | Assigned To | => Brad King | |||||||
2013-03-25 14:28 | Brad King | Status | new => resolved | |||||||
2013-03-25 14:28 | Brad King | Resolution | open => fixed | |||||||
2013-03-25 14:28 | Brad King | Fixed in Version | => CMake 2.8.11 | |||||||
2013-03-25 14:28 | Brad King | Target Version | => CMake 2.8.11 | |||||||
2013-10-07 10:04 | Robert Maynard | Note Added: 0034014 | ||||||||
2013-10-07 10:04 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|