CTestConfig.cmake should be a source file in your source tree. Nothing should be writing it automatically.<br><br><br><div class="gmail_quote">On Mon, Jun 21, 2010 at 11:21 AM, Convey, Christian J CIV NUWC NWPT <span dir="ltr"><<a href="mailto:christian.convey@navy.mil">christian.convey@navy.mil</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I'm having trouble getting my mind around how CTest is intended to be used. Could someone explain this to me?<br>
<br>
When you embed ctest-related statements into a CMakeLists.txt file, and then run cmake on that file, you produce a "CTestConfig.cmake" file. This file is eventually executed by "ctest".<br>
<br>
But ctest also has the ability to run "cmake". In the worst-case (in my mind) scenario, this ultimately leads to "ctest" causing the rewriting of the very "CTestConfig.cmake" file that it's presently executing.<br>
<br>
Is this intended? Or does it lie outside of the intended ways of using ctest?<br>
<br>
<br>_______________________________________________<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></blockquote></div><br>