[CMake] How to have Visual Studio 15 2017 actually use a 64 bit toolchain.
Michael Jackson
mike.jackson at bluequartz.net
Fri Sep 21 10:13:12 EDT 2018
The easy answer is to use “ninja” from a VS tools X64 Native command prompt. For those that want to actually use Visual Studio 15 2017 is there anything in CMake or an environment variable that can be set?
The issue is that when I configure I select “Visual Studio 15 2017 Win64” BUT the actual tool chain that VS is using under the hood is a 32 bit compiler. I have verified this through stack overflow and looking at the task manager.
https://stackoverflow.com/questions/46056263/use-the-64-bit-visual-c-toolset-in-visual-studio-2017
https://stackoverflow.com/questions/19820718/how-to-make-visual-studio-use-the-native-amd64-toolchain/25626630#25626630
Is there a CMake variable that I can set to tell Visual Studio to use the X64 toolchain?
Thanks
--
Michael Jackson | Owner, President
BlueQuartz Software
[e] mike.jackson at bluequartz.net
[w] www.bluequartz.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180921/515ca628/attachment.html>
More information about the CMake
mailing list