[CMake] CMAKE_USE_RELATIVE_PATHS

barcaroller barcaroller at sympatico.ca
Sat Nov 21 16:25:37 EST 2009


"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








More information about the CMake mailing list