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