summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCopier.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-05-16 19:23:14 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-05-16 19:25:33 (GMT)
commite3ff7ced630808e2e74f0853a720bc90d3f35abb (patch)
treef286583c27907518bf65c930cfe883fc88556673 /Source/cmFileCopier.h
parent64a7f491ef8ab6f70a77f89c91d1e7e9d549333e (diff)
downloadCMake-e3ff7ced630808e2e74f0853a720bc90d3f35abb.zip
CMake-e3ff7ced630808e2e74f0853a720bc90d3f35abb.tar.gz
CMake-e3ff7ced630808e2e74f0853a720bc90d3f35abb.tar.bz2
file(INSTALL): Add FOLLOW_SYMLINK_CHAIN argument
Diffstat (limited to 'Source/cmFileCopier.h')
-rw-r--r--Source/cmFileCopier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFileCopier.h b/Source/cmFileCopier.h
index 003b8f6..a79a60b 100644
--- a/Source/cmFileCopier.h
+++ b/Source/cmFileCopier.h
@@ -64,6 +64,7 @@ protected:
// Translate an argument to a permissions bit.
bool CheckPermissions(std::string const& arg, mode_t& permissions);
+ bool InstallSymlinkChain(std::string& fromFile, std::string& toFile);
bool InstallSymlink(const std::string& fromFile, const std::string& toFile);
bool InstallFile(const std::string& fromFile, const std::string& toFile,
MatchProperties match_properties);
@@ -86,6 +87,7 @@ protected:
bool UseGivenPermissionsFile;
bool UseGivenPermissionsDir;
bool UseSourcePermissions;
+ bool FollowSymlinkChain;
std::string Destination;
std::string FilesFromDir;
std::vector<std::string> Files;