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

Brad King brad.king at kitware.com
Thu Sep 15 09:11:27 EDT 2016


On 09/15/2016 09:04 AM, csiga.biga at aol.com wrote:
> That is exactly what I’m doing. I am generating a VS solution, and
> inside that I setup the debugging environment, but the process I want
> to debug is not the VS solution generation, but the NMake Makefile
> generation process.

Okay, misread your original message.  I've never actually tried that.

> What should I put inside the Environment dialog to make things work?
> Even when it’s empty, it finds cl.exe, but cmake fails trying to use it.

Add "VERBOSE=1" to the environment to get a little more output about
the "RC Pass 1 failed to run" failure.

-Brad



More information about the cmake-developers mailing list