mirror of
https://github.com/Kitware/CMake.git
synced 2025-06-11 08:32:37 +08:00

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>
18 lines
356 B
C
18 lines
356 B
C
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
|
#pragma once
|
|
|
|
/**
|
|
* Enumerate types known to file(INSTALL).
|
|
*/
|
|
enum class cmInstallMode
|
|
{
|
|
COPY,
|
|
ABS_SYMLINK,
|
|
ABS_SYMLINK_OR_COPY,
|
|
REL_SYMLINK,
|
|
REL_SYMLINK_OR_COPY,
|
|
SYMLINK,
|
|
SYMLINK_OR_COPY
|
|
};
|