[CMake] what is the right way to set CMAKE_USE_RELATIVE_PATHS?

Claus Klein claus.klein at arcormail.de
Mon Dec 21 16:52:11 EST 2009


Hi Micheal,

I know the discusion about CMAKE_USE_RELATIVE_PATHS, for all my test 
under cygwin and MAC-OX with gmake and gcc, it works!
Only the setting is a little tricky ;-)

There are good reasons to use this option, at leased the shorter log files.

Claus

Michael Jackson schrieb:
> There are lots of questions on this CMake variable and the consensus 
> is DO NOT USE IT. PERIOD. The implementation is basically broken for 
> all but the most trivial case.
> _________________________________________________________
> Mike Jackson                  mike.jackson at bluequartz.net
> BlueQuartz Software                    www.bluequartz.net
> Principal Software Engineer                  Dayton, Ohio
>
> On Dec 21, 2009, at 3:59 PM, John Drescher wrote:
>
>> On Mon, Dec 21, 2009 at 3:50 PM, Claus Klein 
>> <claus.klein at arcormail.de> wrote:
>>> Hi all,
>>>
>>> I tried to use:
>>>   set(CMAKE_USE_RELATIVE_PATHS ON)
>>> in my CMakeLists.txt.
>>>
>>> But I noticed, that some cmake variables can't be changed in that way.
>>> In the CMakeCache.txt, it is still OFF?
>>>




More information about the CMake mailing list