[CMake] HOWTO cmake compatiblity?

Steffen Dettmer steffen.dettmer at gmail.com
Mon Aug 7 10:49:10 EDT 2017


On Mon, Aug 7, 2017 at 3:44 PM, Rolf Eike Beer <eike at sf-mail.de> wrote:
> Steffen Dettmer wrote:
>> So far I think we need to install cmake into a versionized
>> directory and invoke it:
>>
>>   v1.0.0/bin/cmake -DTOOLCHAIN=v1.0.0/target1.cmake
>>
>> and maybe remove cmake from PATH to ensure a failure if
>> accidentally calling "cmake".
>>
>> What do you think?
>
> Having multiple parallel versions of CMake in different directories works.

Yes, it definetly works, I tested with 3.0.2 and 3.6.2.

My question is how it is intended to be used, what works best.

Steffen


More information about the CMake mailing list