Re: [CMake] cmake output file naming

2012-08-17 Thread Bill Hoffman
On 8/17/2012 12:07 PM, Sumit Adhikari wrote: I understand your concern! Assume that for some reason I cannot use Ctest! And all the problem starts there. I get that. But why can't you do what CTest does to use gcov? -Bill -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 1206

Re: [CMake] cmake output file naming

2012-08-17 Thread Sumit Adhikari
I understand your concern! Assume that for some reason I cannot use Ctest! And all the problem starts there. On Fri, Aug 17, 2012 at 4:31 PM, Bill Hoffman wrote: > On 8/17/2012 9:44 AM, Sumit Adhikari wrote: > >> Dear Brad, >> >> Thanks for the info. I will try and I find any issues then will r

Re: [CMake] cmake output file naming

2012-08-17 Thread Bill Hoffman
On 8/17/2012 9:44 AM, Sumit Adhikari wrote: Dear Brad, Thanks for the info. I will try and I find any issues then will report. *.cpp was just symbolic. Ctest works just fine with gcov and the current names of the .o files. I am wondering why you are having trouble with this in the first pla

Re: [CMake] cmake output file naming

2012-08-17 Thread Michael Wild
BTW, I found that using lcov is much easier than trying to figure out the raw gcov output and it handles the output file naming automatically too. Michael On 08/17/2012 04:22 PM, Sumit Adhikari wrote: > Now I am doing good. Thanks for the info. > > By the way, why not making this a feature (ins

Re: [CMake] cmake output file naming

2012-08-17 Thread Sumit Adhikari
Now I am doing good. Thanks for the info. By the way, why not making this a feature (instead of keeping it as an internal variable with a chance that it gets dropped in future). A suggestion though :) Regards, Sumit On Fri, Aug 17, 2012 at 3:22 PM, Brad King wrote: > On 8/17/2012 5:03 AM, Sumi

Re: [CMake] cmake output file naming

2012-08-17 Thread Sumit Adhikari
Dear Brad, Thanks for the info. I will try and I find any issues then will report. *.cpp was just symbolic. Regards, Sumit On Fri, Aug 17, 2012 at 3:22 PM, Brad King wrote: > On 8/17/2012 5:03 AM, Sumit Adhikari wrote: > > I have particular problem with the cmake generated output file naming

Re: [CMake] cmake output file naming

2012-08-17 Thread Brad King
On 8/17/2012 5:03 AM, Sumit Adhikari wrote: > I have particular problem with the cmake generated output file naming > conventions (like myfile.cpp.o, myfile.cpp.gcno, ). Object file names are computed in a deterministic manner based only on the source file name and location. The object name m

[CMake] cmake output file naming

2012-08-17 Thread Sumit Adhikari
Dear All, I have particular problem with the cmake generated output file naming conventions (like myfile.cpp.o, myfile.cpp.gcno, ). These naming conventions creating trouble for me to run gcov *.cpp properly with my -o /objdir option (I had to copy them in the same directory without the .ccp e