what is msvc_x64_x64 and how is different from msvc_x64
Asked Answered
M

1

5

I am using visual studio 2019 with cmake project. When opening cmake settings UI in visual studio IDE, it shows a list of toolset for a C++ project.

From the list of toolsets, I have msvc_x64 and msvc_x64_x64. I want to build on native x64, so I can simply select msvc_x64.

But why there is two toolset named x64 and x64_x64?

Is it the same thing or they are maintaining two names for some sort of backward compatibility?

As per docs, I can understand the naming conventions for toolsets such as msvc_x86_x64, amd64, x64_arm etc.. I would like to learn about x64 and x64_x64 and why these two exist?

Is there any difference between two ? If so can I get some documentation about it?

Marmoreal answered 5/9, 2019 at 9:40 Comment(0)
P
12

msvc_x64

This toolset is to target x64 with the x86 version of MSVC.


msvc_x64_x64

This toolset is to target x64 with the x64 version of MSVC.

Pernik answered 5/9, 2019 at 9:42 Comment(2)
Thanks for clarification. it is a bit wired naming though. they could stick to conventions and use msvc_x64_x86. Do you have a link to docs?Marmoreal
Not my answer, but it is specified hereMalamud

© 2022 - 2024 — McMap. All rights reserved.