cmake - show command line for a test

Brad King brad.king at kitware.com
Mon Feb 13 17:19:43 CET 2006


Peter Kümmel wrote:
> Yes, cmake automatically deletes the on the fly generated makefiles.

To look at the small build system generated for a given try-compile one 
can do this:

1.) Delete the cache entry for the try compile from the cache so it will 
run again.

2.) Run "cmake . --debug-trycompile" in the build tree.

This will leave a CMakeFiles/CMakeTmp directory containing the build 
system for the try-compile test.  Then you can try building it yourself 
with the native build system to see what happens.

-Brad


More information about the Kde-buildsystem mailing list