Visual studio 2017 is able to keep old project types and build them as is... so it is using the 2013 tools even though loaded in the 2017 IDE. I noticed this because the command line build tools are 2015, so if I configure a project for node; it gets built as 2015, and the visual studio project when loaded in 2017 shows (Visual Studio 2015) after the project in solution explorer...
And/or you should be able to set the platform toolset (in the project property dialog, General) Platform toolset : Visual Studio 2015 (v140) I've seen it with other IDE projects; I don't have that system available though (back to v110_xp) On Tue, Aug 14, 2018 at 3:20 PM Brian Davis <bitmi...@gmail.com> wrote: > > Why does CMake 3.9.0 open VS2017 when targeting 2013 after installing > 2017... sigh. > > Without even regenerating or re configuring (even though that has no > effect either) when "Open Project" is selected 2017 is opened and not > 2013... errr what am I targeting again? Happened after 2017 install. How > does CMake Decide which app to call.... err I got a sneaky suspicion as to > how.... in a not so goodly way. > > Sure wishI could get CMake to open VS2013 with the environment vars I ahve > set when it was called... guess I'll have to settle for the new and > improved VS2017 I can't use on the project. > > > > > -- > > 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: > https://cmake.org/mailman/listinfo/cmake >
-- 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: https://cmake.org/mailman/listinfo/cmake