Release build with debug symbols (RelWithDebInfo) #38960
-
Is there an option to build your dependencies as a release build with debug symbols (CMake The current Windows toolchain seems to use the vcpkg/scripts/toolchains/windows.cmake Lines 71 to 74 in 01f6021 Would the best option be to specify a custom triplet with a Note: This seems related to #17921, but I would like to know possible workarounds for this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes. You may also need the MSVC debug runtime flag ( |
Beta Was this translation helpful? Give feedback.
-
OK, I tried this out and it doesn't seem to work with e.g. qt5-base, but that is probably because qt5-base uses QMake and does not map settings from CMake correctly. See #39140 |
Beta Was this translation helpful? Give feedback.
Yes. You may also need the MSVC debug runtime flag (
MTd
orMDd
).