Merge install prefixes though removable symlinks.
Installations should be done into separate directories in a root directory. In
the example below, we install some_library to ~/atmos/some_library and make
symlinks to it in /usr/local/.
atmos set atmos_root ~/atmos
atmos set dest_root /usr/local
mkdir some_library/build
cd some_library/build
cmake .. install --prefix ~/atmos/some_library
make && make install
sudo atmos link some_libraryTo undo the symlinks, you can run the following
sudo atmos unlink some_libraryFiles are linked to the destination as absolute symlinks. Symlinks are transported as-is, so relative targets resolve in the destination:
~/atmos/mylib/lib/libfoo.so -> libfoo.so.1
/usr/local/lib/libfoo.so -> libfoo.so.1
Unlink libraries before deleting them from the atmos root, or unlink --full
will not be able to attribute their transported links.