<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks.<div><br></div><div>I didn't catch that variable in the documentation.</div><div><br></div><div>It does just what I need.</div><div><br></div><div>Richard</div><div><br></div><div><br><div><div>On Nov 6, 2009, at 8:05 AM, David Cole wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Fri, Nov 6, 2009 at 7:56 AM, Richard Wackerbarth <span dir="ltr"><<a href="mailto:rkw@dataplex.net">rkw@dataplex.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm trying to run a number of dashboards ( various projects and configurations) from a single script.<br>
<br>
- - -<br>
<br>
It does what I want but complains that I did not set CTEST_SOURCE_DIRECTORY, CTEST_BINARY_DIRECTORY, and CTEST_COMMAND at the top scope. (Never mind that, at that level, I am just using ctest as a scripting language and have no desire for it to run any tests.<br>
<br>
Shouldn't we be able to invoke ctest as a shell?<br>
<br></blockquote><div><br>Yes, you should... and you can. However, ctest warns in this situation because it is a common thing for a first time script writer to forget to set one of the necessary variables.<br><br>To avoid the warning, set this variable instead at the global scope of your script:<br>
<br>SET(CTEST_RUN_CURRENT_SCRIPT 0)<br><br></div></div><br>HTH,<br>David<br><br>
_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">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">http://www.cmake.org/mailman/listinfo/cmake</a></blockquote></div><br></div></body></html>