vs2022 generator

alice alice 100 Reputation points
2024-10-24T08:04:53.5266667+00:00

https://github.com/chromiumembedded/cef-project?tab=readme-ov-file#using-cmake

windows 11 and vs2022

my vs2022 default setting is x64-Debug with Ninja


1> [CMake] CEF_PLATFORM     windows64

1> [CMake] CMAKE_CXX_COMPILER_ARCHITECTURE_ID   x64

1> [CMake] CMAKE_SYSTEM_NAME     Windows

1> [CMake] CMAKE_SIZEOF_VOID_P     8

when I choose generator with "Visual Studio 17 2022"


1> [CMake] CEF_PLATFORM     windows32

1> [CMake] CMAKE_CXX_COMPILER_ARCHITECTURE_ID   X86

1> [CMake] CMAKE_SYSTEM_NAME     Windows

1> [CMake] CMAKE_SIZEOF_VOID_P     4

Q1. "Visual Studio 17 2022" is the x86 ?

Q2.

image

which is the command responsd to the picture that vs2022 IDE generator

cmake -G "Visual Studio 17" -A x64 ..


Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.