Re: [CMake] Code Coverage Bullseye

2014-09-19 Thread Rajeev Kumar
Thou shall receive the patch :) On Thu, Sep 18, 2014 at 5:56 PM, David Cole dlrd...@aol.com wrote: My apologies. I take it back -- gcov apparently does work on the Mac nowadays. It is a ctest issue, then, and when using Xcode, ctest will need to look in some additional locations for the

Re: [CMake] Code Coverage Bullseye

2014-09-18 Thread Rajeev Kumar
Hi, Thanks for your responses. As David mentioned I don't have to set the COVFILE if I don't have the Bullseye. I am already using the -fprofile-arcs -ftest-coverage hence .gcna .gcno files are getting generated. Here is my CMakeLists.txt : http://pastebin.com/hQt2htkK Here is my ctest script

Re: [CMake] Code Coverage Bullseye

2014-09-18 Thread Rajeev Kumar
As David suggested I did following experiment. I created two Test projects. *Project1: * *set(CTEST_SOURCE_DIRECTORY /Users/rajekumar/work/test-codes/TestUnix)* *set(CTEST_BINARY_DIRECTORY /Users/rajekumar/work/test-codes/TestUnix/out)* *set(CTEST_CMAKE_GENERATOR Unix Makefiles)*

[CMake] Code Coverage Bullseye

2014-09-16 Thread Rajeev Kumar
Hi, I am trying to configure the code coverage using the ctest script. I took help from : http://www.cmake.org/Wiki/CTest/Coverage My script looks like this: *cmake_minimum_required(VERSION 3.0)set(CTEST_SOURCE_DIRECTORY