CMAKE steps to generate VS2012 with Debugger PDB and Src file settings/configuration

Gagan-Jit Singh 6 Reputation points

We are setting the Debugging ->Symbols (.pdb) and Common Properties > Debug Source Files on Solution 'Application' Property Pages dialog in VS2012 IDE.

Can we add these configurations in Cmake while generating VS2012 solution, part of auto-build/configuration process? If this is not supported at all in VS2012, can you suggest if this be achieved in VS2022 and how?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,394 questions
{count} votes