Elektrine lite

← Feed

@horenmar@mastodon.social

Post #3491238

2026-06-29 18:00 UTC

@malwareminigun@infosec.exchange I always thought that CMake's don't, which is why `Release` build type is so annoying to use. Or is this a "Normal Windows builds expect debug info to be there in releases, so vcpkg injects the flag back in" thing?

Replies (1)

  • @horenmar@mastodon.social I don't know where current CMake upstream is on this question; I do know at one point they tried to make release without PDBs but I don't know if they still do. vcpkg always says /Z7 https://github.com/microsoft/vcpkg/blob/a0400024711b283056538ac19ced80b91a83c24c/scripts/toolchains/windows.cmake#L89-L90

    Open ##3491237