Somewhat equivalent to -VV redirected to a log file is:

  -O <file>, --output-log <file>
                              = Output to log file

(from ctest --help ...)


HTH,
David


On Wed, Aug 18, 2010 at 12:09 PM, Tyler Roscoe <ty...@cryptio.net> wrote:

> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to