Somewhat equivalent to -VV redirected to a log file is:<div><div><br></div><div> -O <file>, --output-log <file></div><div> = Output to log file</div><div><br></div>(from ctest --help ...)</div>
<div><br></div><div><br></div><div>HTH,</div><div>David</div><div><br></div><div><br><div class="gmail_quote">On Wed, Aug 18, 2010 at 12:09 PM, Tyler Roscoe <span dir="ltr"><<a href="mailto:tyler@cryptio.net">tyler@cryptio.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, Aug 18, 2010 at 11:53:14AM +0200, Johny wrote:<br>
> I am using a Ctest script to do a continuous build, however I can't seem<br>
> to find a way to log the output of my make system since when you give<br>
> ctest_build(BUILD src) it is automatically logged to the build.xml in<br>
> the Testing directory. Is there anyway i can log the output of the<br>
> makefile that gets generated to another file ? maybe by modifying<br>
> something in the CMakeLists ??<br>
<br>
</div>I would like this as well, but I don't think CTest will provide it.<br>
<br>
What we do is run something like "ctest -S script.cmake -VV > build.log<br>
2>&1".<br>
<font color="#888888"><br>
tyler<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>