[CMake] Build logging

Tyler Roscoe tyler at cryptio.net
Wed Aug 18 12:09:07 EDT 2010


On Wed, Aug 18, 2010 at 11:53:14AM +0200, Johny wrote:
> I am using a Ctest script to do a continuous build, however I can't seem  
> to find a way to log the output of my make system since when you give  
> ctest_build(BUILD src) it is automatically logged to the build.xml in  
> the Testing directory. Is there anyway i can log the output of the  
> makefile that gets generated to another file ? maybe by modifying  
> something in the CMakeLists ??

I would like this as well, but I don't think CTest will provide it.

What we do is run something like "ctest -S script.cmake -VV > build.log
2>&1".

tyler


More information about the CMake mailing list