[CMake] Can't Generate Project Files for VS2019
Jano Svitok
jan.svitok at gmail.com
Mon Apr 29 15:45:03 EDT 2019
On Sun, Apr 28, 2019 at 10:11 PM Osman Zakir <osmanzakir90 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190429/01e1cd11/attachment.html>
More information about the CMake
mailing list