[CMake] What does debug-output do?

Alexander Neundorf a.neundorf-work at gmx.net
Mon Feb 18 13:09:24 EST 2008


On Monday 18 February 2008, Daniel wrote:
> Daniel wrote:
> > I have tried using the --debug-output command line option but it doesn't
> > seem to change anything.  Can someone elaborate on this?  I'm not trying
> > to debug anything in particular just curious.

Please try cmake cvs, it prints a lot more there.

> I found this in the man page now that I'm no longer in Windows:
> "Print extra stuff during the cmake run like stack traces with
> message(send_error ) calls."
>
> So let me rephrase my question, Is this the only command that outputs extra
> info?  What would be great is a message command that outputs only when this
> flag is set but doesn't cause the build to fail, that way you don't need to
> remove any trace messages once things are working.

Hmm, one could argue that you shouldn't keep debug code once it works, but 
anyway. I'd suggest file a feature request in the bug tracker.

Alex


More information about the CMake mailing list