[CMake] Re: CMake being too clever?

Peter Vanroose peter_vanroose at yahoo.co.uk
Sat Aug 13 11:10:03 EDT 2005


> This "feature" is because so many people asked why CMake doesn't use 
> relative paths.  
> ... probably end up going back to full paths 
> with this example as ammunition on the FAQ for why we use them.

I would be very pleased with this change, too!
I have been suffering this same problem for a long time, "solving" it
by placing "back symlinks" in the build tree to the source tree ... :-{

One other situation where relative paths are (IMHO) unacceptable, is
when they are longer than the absolute path alternative, e.g. (real
life example ;-)

..\..\..\..\..\..\vxl\contrib\brl\bseg\segv\tests\CMakeLists.txt
instead of
C:\SRC\vxl\contrib\brl\bseg\segv\tests\CMakeLists.txt

--	Peter.


More information about the CMake mailing list