MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015871 | CMake | CMake | public | 2015-12-03 17:13 | 2016-05-02 08:30 |
| Reporter | Richard Lang | ||||
| Assigned To | |||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | no change required | ||
| Platform | Windows 7 64 bit | OS | OS Version | ||
| Product Version | CMake 3.4.1 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0015871: Cmake may select incorrect default generator on windows host | ||||
| Description | Looking at cmake::ActualConfigure() method in cmake.cxx (line 1265 or thereabouts), comment indicates that in absence of a specified generator cmake running on a native Windows host (not Cygwin) should generate for the newest Visual Studio installation found on the system, and fall back to generating a NMake make file if none found (which seems sensible), however as far as I can see the code is actually going to select the OLDEST VS install. Haven't run any test cases, this is solely from code inspection. | ||||
| Steps To Reproduce | Run Cmake without generator specified on Windows host with more than 1 version of visual Studio installed. | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-12-03 17:13 | Richard Lang | New Issue | |||
| 2015-12-03 17:36 | Richard Lang | Note Added: 0039951 | |||
| 2015-12-04 08:25 | Brad King | Status | new => resolved | ||
| 2015-12-04 08:25 | Brad King | Resolution | open => no change required | ||
| 2016-05-02 08:30 | Robert Maynard | Note Added: 0040977 | |||
| 2016-05-02 08:30 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||