mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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>
This commit is contained in:
@@ -67,8 +67,9 @@ protected:
|
||||
|
||||
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);
|
||||
virtual bool InstallFile(const std::string& fromFile,
|
||||
const std::string& toFile,
|
||||
MatchProperties match_properties);
|
||||
bool InstallDirectory(const std::string& source,
|
||||
const std::string& destination,
|
||||
MatchProperties match_properties);
|
||||
|
||||
Reference in New Issue
Block a user