barcaroller wrote:
"Bill Hoffman" wrote:

You should give up on CMAKE_USE_RELATIVE_PATHS , and we should deprecate
it from CMake.  It just does not work, and frustrates people.


Fair enough, but what are the alternatives?  My two requirements are:

 - Using out-of-source builds
 - Have the gcc compiler use relative pathnames like

   gcc ../src/foo.c

   and not monstrosities like

   gcc /mount/server/homes/users/devel/proj/system/subsystem/src/foo.c


There is no way to do that from CMake. I consider it a feature since you can move an executable anywhere on the machine and the debugger still works. Is this causing something not to work?

-Bill
_______________________________________________
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