Hi Michael,
I use the CMake generator toolset option "-T host=x64" when generating
the solutions to force the 64 bit compiler being used.
Cheers, Volker
Am 21.09.2018 um 16:13 schrieb Michael Jackson:
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.jack...@bluequartz.net <mailto:mike.jack...@bluequartz.net>
[w] www.bluequartz.net <http://www.bluequartz.net>
--
--
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