[CMake] error tracing

Brad King brad.king at kitware.com
Tue Mar 14 10:28:16 EST 2006


Bitter, Ingmar (NIH/CC/DRD) [E] wrote:
> cmake is complaining about a file it can not find that I think it should
> not be searching for in the first place.
> 
> How do I tell cmake to echo each CMakeLists file and line that it is
> working on so I can trace where the source of this problem comes from?
> 
> Redhat linux, cmake version 2.2-patch 3

You'll have to use the old-fashioned debugging style.  Use the MESSAGE 
command to print out information at various places.

-Brad


More information about the CMake mailing list