[CMake] Complete Path of source files being displayed in obj Files

Malhotra, Anupam Anupam.Malhotra at Safenet-inc.com
Wed Jul 8 00:08:47 EDT 2009


Hi David

Thanks for the reply. I am not concerned about the names of object files. I was talking about the contents of the object files. If you analyze the object files, they contain the complete paths of corresponding source files. This complete path is not desirable for us. We want the object files to contain only the relative paths. Is that possible?

Thanks and Regards
Anupam Malhotra
________________________________
From: David Cole [mailto:david.cole at kitware.com]
Sent: Tuesday, July 07, 2009 5:24 PM
To: Malhotra, Anupam
Cc: cmake at cmake.org
Subject: Re: [CMake] Complete Path of source files being displayed in obj Files

I don't know of a way to change the obj file names.

Do you have an actual problem because of these file names?
Why do you care what the name of the obj files is?

On Tue, Jul 7, 2009 at 7:38 AM, Malhotra, Anupam <Anupam.Malhotra at safenet-inc.com<mailto:Anupam.Malhotra at safenet-inc.com>> wrote:

Hi



I am using CMake to create a Visual Studio workspace. There are a number of projects within the main workspace. I have given the relative paths of source files in CMakeLists.txt files. However, When the Visual Studio projects are compiled using msdev, the resulting object files contain the complete paths for all source files. Is there a way in CMake through which only relative paths are displayed in the resulting obj (rather than the complete paths) ?



Thanks and Regards

Anupam Malhotra



The information contained in this electronic mail transmission

may be privileged and confidential, and therefore, protected

from disclosure. If you have received this communication in

error, please notify us immediately by replying to this

message and deleting it from your computer without copying

or disclosing it.





_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


The information contained in this electronic mail transmission 
may be privileged and confidential, and therefore, protected 
from disclosure. If you have received this communication in 
error, please notify us immediately by replying to this 
message and deleting it from your computer without copying 
or disclosing it.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090708/ca908992/attachment-0001.htm>


More information about the CMake mailing list