Thanks Robert -- this is great feedback

Yes, VS ships with a patched 3.6 CMake that includes both changes to find the 
VS 2017 installation as well as the CMake-Server functionality needed for the 
IDE services. We have not yet started upstreaming these changes (got totally 
sidetracked by getting the VS 2017 RC release out the door) but are absolutely 
committed to do so. As a first step, we will be rebasing our changes to the 3.7 
CMake release and then start contributing these pieces. 

Once the changes are in PR, at a minimum, you will be able to compile your own 
version of CMake if you wanted to, to replace the one shipping in VS. But 
currently, to answer your other question, we have no capability of pointing VS 
to a different version of CMake. That's primarily because of the thick-coupling 
between VS and the custom patches we need in CMake to make the end-to-end 
experience work. 

Thanks,
Marian Luparu
Visual C++ PM Lead

-----Original Message-----
From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Dailey
Sent: Tuesday, November 22, 2016 10:58 AM
To: CMake <cmake@cmake.org>
Subject: [CMake] VS2017 + CMake integration

First of all, I personally find the CMake integration in Visual Studio just 
absolutely amazing. Granted I am not doing any cross-compiling with Android 
yet, but for just building on Windows it's phenomenal.

I noticed that Visual Studio 2017 RC is actually packaging its own version of 
CMake:

E:\PROGRAM FILES (X86)\MICROSOFT VISUAL
STUDIO\2017\PROFESSIONAL\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe

Is Microsoft patching the CMake code base to support what they are doing? And 
if so, are those changes not upstream yet? Personally, I'd rather have the 
ability to tell Visual Studio to use my external version of CMake that is on 
PATH, rather than its own. I can understand if that isn't possible right now 
due to custom changes, but I'm curious to learn more, assuming Kitware has had 
a partnership with Microsoft for this integration with Visual Studio.

Would anyone be able to provide more news here? Is there a way to make VS 2017 
use my separate install of CMake? Are the Microsoft-specific patches 
contributed to upstream (or planned to be)?
-- 

Powered by 
https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Cmluparu%40microsoft.com%7C00957bc2ac4847ee794f08d413098464%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636154378985417863&sdata=Plv73v%2B4m3KwGsh6VinIPPgg1qUsCdmDlx%2F9U2urOqA%3D&reserved=0

Please keep messages on-topic and check the CMake FAQ at: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cmake.org%2FWiki%2FCMake_FAQ&data=02%7C01%7Cmluparu%40microsoft.com%7C00957bc2ac4847ee794f08d413098464%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636154378985417863&sdata=qBtWeiauHkzD7ISZxtqz3Q72SaDZZwKwdY%2F1voAI2U8%3D&reserved=0

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcmake.org%2Fcmake%2Fhelp%2Fsupport.html&data=02%7C01%7Cmluparu%40microsoft.com%7C00957bc2ac4847ee794f08d413098464%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636154378985417863&sdata=NZgcc%2BxtLPkIWXjqcIwItZr7KXAe6cqbcQaLpAMMA9Q%3D&reserved=0
CMake Consulting: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcmake.org%2Fcmake%2Fhelp%2Fconsulting.html&data=02%7C01%7Cmluparu%40microsoft.com%7C00957bc2ac4847ee794f08d413098464%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636154378985417863&sdata=YXiCCEGtOMh3qvpKtXTgiL86czKy8xedQbUOoFaTsXA%3D&reserved=0
CMake Training Courses: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcmake.org%2Fcmake%2Fhelp%2Ftraining.html&data=02%7C01%7Cmluparu%40microsoft.com%7C00957bc2ac4847ee794f08d413098464%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636154378985417863&sdata=Paz%2Ft%2Bm63qi1AavokeWDNrR69wIUD2Tzjuyp7gUHORk%3D&reserved=0

Visit other Kitware open-source projects at 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Cmluparu%40microsoft.com%7C00957bc2ac4847ee794f08d413098464%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636154378985417863&sdata=MkwbFPZ3eC9DrFysQTnnHA6CYFuNLTCt5%2FLdCrxLaXo%3D&reserved=0

Follow this link to subscribe/unsubscribe:
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fcmake&data=02%7C01%7Cmluparu%40microsoft.com%7C00957bc2ac4847ee794f08d413098464%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636154378985417863&sdata=JYhOwViUGadM%2FOGbf3X8cs3fwjCArFZnUz92Q1wK5VY%3D&reserved=0
-- 

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

Reply via email to