-
I have a CMake project that uses vcpkg as a submodule to install some dependencies, cryptopp between them. Now, in order to build this project with ASAN (address sanitizer, in debug mode), it seems I need to compile all dependencies with ASAN; otherwise I get a link error such as I've tried defining adding the What are my options to get, under certain build configurations, a vcpkg's cryptopp build with ASAN? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Use overlay triplet and set |
Beta Was this translation helpful? Give feedback.
Use overlay triplet and set
VCPKG_CXX_FLAGS
in it.https://github.com/microsoft/vcpkg/blob/master/docs/users/triplets.md#vcpkg_cxx_flags