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

David Cole david.cole at kitware.com
Tue Jul 7 07:53:49 EDT 2009


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> 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
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090707/3cd1f922/attachment.htm>


More information about the CMake mailing list