[cmake-developers] parallel install of different cmake versions
Brad King
brad.king at kitware.com
Mon Dec 14 09:42:32 EST 2015
On 12/11/2015 06:42 PM, Orion Poplawski wrote:
> For Fedora EPEL we often end up packaging newer versions of cmake as cmakeXY
> (e.g. cmake34) that can be installed in parallel with the system cmake. This
> is a fairly invasive process. I'm attaching the current patch I'm working on
> for this. Is there any interest in cmake itself for supporting this kind of
> thing?
Not particularly. That does look pretty invasive.
Why not just install it to /usr/lib/cmake34 with normal names and symlink
the versioned names? E.g.
/usr/bin/cmake34 -> /usr/lib/cmake34/bin/cmake
/usr/bin/ctest34 -> /usr/lib/cmake34/bin/ctest
...
I have many different CMake versions installed on my system in different
directories and use aliases or symlinks to reference them without being
in my PATH directly.
-Brad
More information about the cmake-developers
mailing list