CMake 3.7.0 build VS 14 when generator is VS15
I just downloaded and installed VS 2017 RC and ran 'cmake -G "Visual Studio 15 Win64" ...'. The output showed
-- The C compiler identification is MSVC 19.0.24215.1 -- The CXX compiler identification is MSVC 19.0.24215.1 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
So I guess one of two things. MS have change thing since VS 15 Preview 5 or more likely the uninstall of Preview 5 followed by an install of VS 2917 RC has left stuff in a mess. I haven't been able to prove the later and it does seem odd that the command would not simply fails rather than run an old compiler. Are there any logs or other places I can look to see what is going on?