Re: [CMake] Incorrect object file name on cmake compilation

2014-09-11 Thread Bill Hoffman
On 9/11/2014 7:04 AM, Ravi Raman wrote: Yes. That's correct David. I was actually looking for an explanation why the object file name is coming with the suffix .cpp.obj instead of the conventional .obj. It was kind of a problem for me because the object file comparison tool uses the object file n

Re: [CMake] Incorrect object file name on cmake compilation

2014-09-11 Thread Ravi Raman
com| http://www.xoriant.com -Original Message- From: David Cole [mailto:dlrd...@aol.com] Sent: Thursday, September 11, 2014 3:25 PM To: a...@lisas.de; Ravi Raman Cc: cmake@cmake.org Subject: Re: [CMake] Incorrect object file name on cmake compilation I think (Ravi, correct me if I'm wrong

Re: [CMake] Incorrect object file name on cmake compilation

2014-09-11 Thread David Cole via CMake
I think (Ravi, correct me if I'm wrong) that they're transitioning to CMake from a previously purely Visual Studio build system, and they're writing some tools to validate that the builds are ending up "the same." So it's not really a "problem" for anybody -- I think he was just looking for an

Re: [CMake] Incorrect object file name on cmake compilation

2014-09-11 Thread Andreas Mohr
On Thu, Sep 11, 2014 at 08:25:27AM +, Ravi Raman wrote: >Actually, in our project, the names of the object files matter because >these object files go as an input to a object file comparison tool that >compares object file names. So, there are 2 sets of object files, one >coming

Re: [CMake] Incorrect object file name on cmake compilation

2014-09-11 Thread Ravi Raman
@cmake.org; Ravi Raman Subject: Re: [CMake] Incorrect object file name on cmake compilation I was wondering about this as well. Ravi, what is your motivation for having object file names of a particular format? I don't think I've ever had to care what object files in our builds are cal

Re: [CMake] Incorrect object file name on cmake compilation

2014-09-11 Thread Petr Kmoch
I was wondering about this as well. Ravi, what is your motivation for having object file names of a particular format? I don't think I've ever had to care what object files in our builds are called. Petr On Thu, Sep 11, 2014 at 10:01 AM, Andreas Mohr wrote: > Hi, > > > Date: Thu, 11 Sep 2014 07

Re: [CMake] Incorrect object file name on cmake compilation

2014-09-11 Thread Andreas Mohr
Hi, > Date: Thu, 11 Sep 2014 07:49:23 + > From: Ravi Raman > Hi, > > Thanks Petr for your reply. By incorrect I meant instead of the conventional > main.obj, we get main.cpp.obj. > I understood what you are saying. We have found a solution for this in our > cmake code. Good, so you've fo

Re: [CMake] Incorrect object file name on cmake compilation

2014-09-11 Thread Ravi Raman
i.ra...@xoriant.com<mailto:ram.si...@xoriant.com>| http://www.xoriant.com<http://www.xoriant.com/> From: Petr Kmoch [mailto:petr.km...@gmail.com] Sent: Thursday, September 11, 2014 12:11 PM To: Ravi Raman Cc: cmake@cmake.org Subject: Re: [CMake] Incorrect object file name on cmake compilation H

Re: [CMake] Incorrect object file name on cmake compilation

2014-09-10 Thread Petr Kmoch
Hi Ravi. In what sense is the name "incorrect?" There is no correct/incorrect way to name object files in relation to the source file name; it can be arbitrary, as long as it's correctly passed on to the linker. I believe CMake chooses to append ".obj" to the whole file name if there is more than