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
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
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 \
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
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