diff options
author | Asit Dhal <dhal.asitk@gmail.com> | 2020-10-04 17:44:31 (GMT) |
---|---|---|
committer | Asit Dhal <dhal.asitk@gmail.com> | 2020-10-24 10:00:47 (GMT) |
commit | 03ad0e61c19304ae145cfa0683b43d9756d37ff5 (patch) | |
tree | 4b80c6107710ce8e1ccca1de4ec03ac9232ba024 /Source/cmMakefile.h | |
parent | 5988a4deea67ed122b30c2c0437f70e074273789 (diff) | |
download | CMake-03ad0e61c19304ae145cfa0683b43d9756d37ff5.zip CMake-03ad0e61c19304ae145cfa0683b43d9756d37ff5.tar.gz CMake-03ad0e61c19304ae145cfa0683b43d9756d37ff5.tar.bz2 |
configure_file: Add option for user defined permissions
User defined permissions and options to copy permissions are
implemented.
Fixes: #20866
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 26ed737..edee02b 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -20,6 +20,8 @@ #include "cmsys/RegularExpression.hxx" +#include "cm_sys_stat.h" + #include "cmAlgorithms.h" #include "cmCustomCommandTypes.h" #include "cmListFileCache.h" @@ -659,8 +661,7 @@ public: */ int ConfigureFile(const std::string& infile, const std::string& outfile, bool copyonly, bool atOnly, bool escapeQuotes, - bool use_source_permissions, - cmNewLineStyle = cmNewLineStyle()); + mode_t permissions = 0, cmNewLineStyle = cmNewLineStyle()); /** * Print a command's invocation |