Re: [CMake] CTest: Cannot find any coverage files. Ignoring Coverage request.

2010-08-26 Thread emeplease
Thank you David, my issue is solved. It's because the SET( CMAKE_CXX_FLAGS ) inside CTest script has no effect , instead, I need to insert lines into SET (CTEST_INITIAL_CACHE ... ) Also, I mistakenly override the CMAKE_CXX_FLAGS in the root CMakeList.txt Regards, Joseph On

Re: [CMake] CTest: Cannot find any coverage files. Ignoring Coverage request.

2010-08-26 Thread hgc-01...@hkedcity.net wong
Thank you David, my issue is solved. It's because the SET( CMAKE_CXX_FLAGS ) inside CTest script has no effect , instead, I need to insert lines into SET (CTEST_INITIAL_CACHE ... ) Also, I mistakenly override the CMAKE_CXX_FLAGS in the root CMakeList.txt Regards, Joseph 2010/8/25

[CMake] CTest: Cannot find any coverage files. Ignoring Coverage request.

2010-08-25 Thread emeplease
Hi, I am going to enable coverage test in my project, I have enabled the following compile options: --- CXXFLAGS=-g -O0 -Wall -Wshadow \ -Wunused-function -Wunused -Wno-system-headers \

Re: [CMake] CTest: Cannot find any coverage files. Ignoring Coverage request.

2010-08-25 Thread David Cole
How are you running ctest to try to get the coverage reported? With -D NightlyCoverage? With a -S script? What version of ctest? On Wed, Aug 25, 2010 at 3:31 AM, emeplease emeple...@gmail.com wrote: Hi, I am going to enable coverage test in my project, I have enabled the following

Re: [CMake] CTest: Cannot find any coverage files. Ignoring Coverage request.

2010-08-25 Thread hgc-01...@hkedcity.net wong
Hi, David , Thank you for your quick reply. I am so sorry to have missed this important detail :  cmake-2.6.4-7.el5. I am trying to get the coverage report by running  -S script,   the script basically works by  ctest -D NighlyBuild,  ctest -D NightlyCoverage ... I have noticed that the