The following issue has been SUBMITTED. ====================================================================== https://public.kitware.com/Bug/view.php?id=15871 ====================================================================== Reported By: Richard Lang Assigned To: ====================================================================== Project: CMake Issue ID: 15871 Category: CMake Reproducibility: have not tried Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-12-03 17:13 EST Last Modified: 2015-12-03 17:13 EST ====================================================================== Summary: 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. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-12-03 17:13 Richard Lang New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers