1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-11 08:32:37 +08:00
CMake/Source/cmInstallMode.h
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

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
};