[cmake-developers] Debug through config/gen inside Visual Studio

Brad King brad.king at kitware.com
Thu Sep 15 08:07:52 EDT 2016


On 09/14/2016 10:10 AM, Mate Nagy-Egri via cmake-developers wrote:
> How do you setup Visual Studio to debug through a config/gen process?

The easiest way is to use one of the VS IDE generators rather than
NMake Makefiles.  Then in the IDE use the properties dialog on the
"cmake" target to set up a command line and working directory, and
finally use the IDE menu option to start debugging.

-Brad



More information about the cmake-developers mailing list