Share via

cmake build cef with vs2022

alice alice 115 Reputation points
2024-10-23T01:26:11.82+00:00

I am trying use visual studio 2022 and command prompt vs2022.

Using this to build project https://github.com/chromiumembedded/cef-project

And it show the warning

[1/268] Building CXX object libcef_dll_wrapper\CMakeFiles\libcef_dll_wrapper.dir\shutdown_checker.cc.obj
cl : command  line warning D9025 : Overriding '/MD' with '/MT'

I found the https://bitbucket.org/chromiumembedded/cef/wiki/LinkingDifferentRunTimeLibraries.md

The project will generate the libcef_dll_wrapper and libcef

I am confuse that libcef_dll_wrapper is a dynamic or static?

libcef_dll_wrapper is build with /MT or /MD?

Is it possible for 4 case?

dynamic /MT 、dynamic /MD、static /MT、static /MD

or only 2 case

static /MT 、 dynamic /MD

it is impossible for dynamic /MT 、static /MD

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

{count} votes

Your answer

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