[CMake] CMAKE_USE_RELATIVE_PATHS

barcaroller barcaroller at sympatico.ca
Sat Nov 21 17:11:17 EST 2009


"Bill Hoffman" wrote:

> 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?

Kindly see my response to Eric.  In regards to the debugger; this is
precisely why I prefer relative pathnames.  I can move my project (with its
source code) to another target machine (using a different top directory),
and still have gdb working properly.






More information about the CMake mailing list