2713f080bb
Replace which_dotnet_version with a simple function that converts the value of MSVC_VER to its corresponding enum value in the VS project generator. This reduces the maintenance burden when adding support for a new VS version, because we do not need to update the registry keys in which_dotnet_version anymore. The which_dotnet_version function implemented the following logic: - find all installed VS versions via registry - select the "best matching one" - if there is no best match, select the VS that's in PATH - create a project for that VS installation The usefulness of this whole stunt is questionable as the VS version of Qt's mkspec must match the version of a project using that Qt anyway. Change-Id: I9fb9a099ee5ddb5fc4c450be4f68f41f2b406b9a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> |
||
---|---|---|
.. | ||
mingw_make.cpp | ||
mingw_make.h | ||
msbuild_objectmodel.cpp | ||
msbuild_objectmodel.h | ||
msvc_nmake.cpp | ||
msvc_nmake.h | ||
msvc_objectmodel.cpp | ||
msvc_objectmodel.h | ||
msvc_vcproj.cpp | ||
msvc_vcproj.h | ||
msvc_vcxproj.cpp | ||
msvc_vcxproj.h | ||
winmakefile.cpp | ||
winmakefile.h |