- Download the CTestConfig.cmake from CDash<br>- Place it at the top of your source tree (next to your main CMakeLists.txt)<div>- No need for the --ctest-config on the ctest command line<br><div><br></div><div>Arrange it like that, and let us know if you still have problems.</div>
<div><br></div><div><br></div><div>HTH,</div><div>David</div><div><br></div><div><br><div class="gmail_quote">On Thu, Jun 4, 2009 at 11:03 AM, 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, Jun 03, 2009 at 07:21:33PM -0400, Steve Huston wrote:<br>
> C:\ace\exported\qpid> ctest -S trunk_nightly.cmake --ctest-config<br>
> trunk\qpid\cpp\CTestConfig.cmake<br>
> Unable to run ctest:<br>
> Cannot find file:<br>
> C:/ace/exported/qpid/trunk/qpid/cpp/build/DartConfiguration.tcl<br>
> Site:<br>
> Build name:<br>
> WARNING: No nightly start time found please set in CTestConfig.cmake<br>
> or DartConfig.cmake<br>
> Problem initializing the dashboard.<br>
><br>
> It doesn't seem to see my CTestConfig.cmake file - it has a<br>
> NIGHTLY_START_TIME in it.<br>
<br>
</div>ctest might expect to find CTestConfig.cmake relative to your current<br>
binary directory rather than relative to your working directory. Maybe<br>
try fixing up your --ctest-config path or using an absolute path to your<br>
CTestConfig?<br>
<div class="im"><br>
> And what's DartConfiguration.tcl? It wasn't mentioned in the<br>
> "Mastering Cmake" book, and I'm trying to use cdash, not dart.<br>
<br>
</div>Dart is the ancestor of CDash. CMake still writes out a<br>
DartConfiguration.tcl in every binary directory where include(CTest) has<br>
been run.<br>
<br>
So actually, make sure you are doing include(CTest) in your CMakeLists.<br>
Maybe this will fix your first problem as well?<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></div>