diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-01-26 20:50:38 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-01-26 20:50:38 (GMT) |
commit | 09421a261c188763d3acfc7155d49c1c6fabc3ae (patch) | |
tree | 6a84cb27ae5956d4996016fc05efcae76d920a31 /Source/cmSystemTools.h | |
parent | 900ad59867f7949b1b3a46ed53adc2d0197b8bb7 (diff) | |
download | CMake-09421a261c188763d3acfc7155d49c1c6fabc3ae.zip CMake-09421a261c188763d3acfc7155d49c1c6fabc3ae.tar.gz CMake-09421a261c188763d3acfc7155d49c1c6fabc3ae.tar.bz2 |
ENH: Preserve permissions when copying files
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 9099844..d183cae 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -150,6 +150,8 @@ public: ///! Copy a file. static bool cmCopyFile(const char* source, const char* destination); + static bool CopyFileIfDifferent(const char* source, + const char* destination); /** * Run an executable command and put the stdout in output. |