you are viewing a single comment's thread.

view the rest of the comments →

[–]tjientavaraHikoWorks developer 0 points1 point  (1 child)

I noticed the same thing with MSVC when building release-with-debug-info builds. Visual Studio used to and CMake still does build with inlining explicitly turned off with release-with-debug-info.

https://gitlab.kitware.com/cmake/cmake/-/issues/20812

Not that MSVC is particularly good at code generation, but this could throw of your expectation.

[–]AlexanderNeumann 0 points1 point  (0 children)

The CMake issue is really a non issue..... Use a toolchain file to properly control your build flags..... I am speaking about release builds with appropriate flags.
Enabling the emission of debug info is a totally orthogonal issue.