View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015871CMakeCMakepublic2015-12-03 17:132016-05-02 08:30
ReporterRichard Lang 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformWindows 7 64 bitOSOS Version
Product VersionCMake 3.4.1 
Target VersionFixed in Version 
Summary0015871: Cmake may select incorrect default generator on windows host
DescriptionLooking 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 ReproduceRun Cmake without generator specified on Windows host with more than 1 version of visual Studio installed.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0039951)
Richard Lang (reporter)
2015-12-03 17:36

False alarm sorry, misunderstood scope of break statement
(0040977)
Robert Maynard (manager)
2016-05-02 08:30

Closing resolved issues that have not been updated in more than 4 months.

 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


Copyright © 2000 - 2018 MantisBT Team