[CMake] adding a 'make altinstall' to cmake?

Rosen Diankov rosen.diankov at gmail.com
Sun Apr 24 02:35:51 EDT 2011


Hi all,

We would like to add a 'make altinstall' option similar to python's
altinstall so that it doesn't install symlinks that clobber the system
install's symlinks for our program.

Basically, a normal install does:

program0.3
program  -> program0.3        (using install(CODE))
libprogram.so.0.3
libprogram.so -> libprogram.so.0.3    (automatically done)


And altinstall should just do:

program0.3
libprogram.so.0.3

is there a way to do this?
thank you,
rosen,


More information about the CMake mailing list