In vs, I have 10 dll projects. Generally, I run it in release. Sometime, I need to debug one dll. So, I will manually change the dll from release to debug by:
- property → c/c++ → general → debugging information → /Zi
- property → c/c++ → optimize → optimize → /Od
- property → link → debug → generate debug information → /DEBUG
However, when I start vs from cmake, the manually setting would be removed.
I wonder if it is possible to set the dll as debug from cmake? So that after start vs from cmake, I can run vs in release, and debug into one specific dll?
Any suggestion is appreciated~~~