[CMake] ctest_submit() error

girish hilage girish_hilage at yahoo.com
Mon Dec 27 08:39:39 EST 2010


Hi,

I am a newbie to cmake and cdash.
I am trying to submit my customized report to CDASH using ctest_submit(FILES <path to report file>) but getting following errors.

- if I give it in CTestConfig.cmake and give "cmake ." then I am getting below error :

CMake Error at CTestConfig.cmake:8 (ctest_submit):
  Unknown CMake command "ctest_submit".
Call Stack (most recent call first):
  /usr/share/cmake-2.6/Modules/CTest.cmake:50 (INCLUDE)
  CMakeLists.txt:117 (INCLUDE)

- if I give it in CMakeLists.txt and give "cmake ." then I am getting below error :

CMake Error at CMakeLists.txt:121 (ctest_submit):
  Unknown CMake command "ctest_submit".

So want to ask :
1. Am I using ctest_submit() properly for the purpose of submitting the customized report or is there any other way to do this?
2. In which file should I give ctest_submit() (CTestConfig.cmake or CMakeLists.txt)?

Regards,
Girish


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101227/d2960b25/attachment.htm>


More information about the CMake mailing list