2009/7/8 Malhotra, Anupam <[email protected]>:
> 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?

May be you are using __FILE__ macro in order to print debug/log message
in your source code right?

I did use basename/dirname functions
http://www.linuxmanpages.com/man3/basename.3.php
in order to avoid to display full path in such case.

What's your test case?

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
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

Reply via email to