microsoft / SymCrypt-OpenSSL

OpenSSL engine for use with SymCrypt cryptographic library
MIT License
43 stars 11 forks source link

Do not set -DDBG=1 when build type is RelWithDebInfo #49

Closed mlindgren closed 2 years ago

mlindgren commented 2 years ago

In some environments, we use CMake's RelWithDebInfo build type so that we can do an optimized build but still get debug symbols, which we then copy and strip from the binary in a separate step. When building this way, we don't want the DBG flag to be set.