On Sun, Apr 28, 2019 at 10:11 PM Osman Zakir <osmanzaki...@hotmail.com>
wrote:
>
> For VS2017 I'd do "-G"Visual Studio 15 2017 Win64"".  So for VS2019 it's
"-G"Visual Studio 16 2019" -A x64"?  Kind of weird in my opinion.

Hi,

sorry for brevity, I was replying from a phone. I hope you got it working
in the mean time.

Here is documentation for MS2017:
https://cmake.org/cmake/help/v3.14/generator/Visual%20Studio%2015%202017.html#platform-selection
Note that when you specify platform within generator name, you use Win64,
but when using -A, you use x64.
For VS2019, you have to use -A with x64, no other choices.

Jano
-- 

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

Reply via email to