Files
CMake/Tests/InstallMode/superpro/file_install.txt
Felix Lelchuk 58d10cf6f1 Alternative symlink-creating mode for file(INSTALL ...)
An new environment variable 'CMAKE_INSTALL_MODE' is introduced,
which can be used to ask CMake to create symbolic links
instead of copying files during a file(INSTALL ...).

The operation is at the file level only, directory trees are
still created using actual directories, not links.

Signed-off-by: Felix Lelchuk <felix.lelchuk@gmx.de>
2021-08-02 19:42:26 +02:00

7 lines
271 B
Plaintext

This file should be placed in CMAKE_INSTALL_PREFIX
as a copy if the CMAKE_INSTALL_MODE environment variable
is unset or equals "COPY".
If the variable's value is "SYMLINK" or "SYMLINK_OR_COPY",
the CMAKE_INSTALL_PREFIX should rather receive a symbolic
link to this file.