diff options
author | Asit Dhal <dhal.asitk@gmail.com> | 2020-10-28 10:07:57 (GMT) |
---|---|---|
committer | Asit Dhal <dhal.asitk@gmail.com> | 2020-12-21 11:16:16 (GMT) |
commit | c3385dd8bd7c78cf03d7e52ae0f49e8216cdaaea (patch) | |
tree | 429c6d6e88db90402670eef5e288f7f4a1bb29ca /Source/cmGeneratorExpressionEvaluationFile.h | |
parent | c89514a6a47b678dddb703c302def4fe56abe275 (diff) | |
download | CMake-c3385dd8bd7c78cf03d7e52ae0f49e8216cdaaea.zip CMake-c3385dd8bd7c78cf03d7e52ae0f49e8216cdaaea.tar.gz CMake-c3385dd8bd7c78cf03d7e52ae0f49e8216cdaaea.tar.bz2 |
file(GENERATE): Support options to manipulate file permissions
Fixes: #15653
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluationFile.h')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluationFile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionEvaluationFile.h b/Source/cmGeneratorExpressionEvaluationFile.h index 2cd35ae..5ad5e23 100644 --- a/Source/cmGeneratorExpressionEvaluationFile.h +++ b/Source/cmGeneratorExpressionEvaluationFile.h @@ -24,7 +24,8 @@ public: std::string input, std::string target, std::unique_ptr<cmCompiledGeneratorExpression> outputFileExpr, std::unique_ptr<cmCompiledGeneratorExpression> condition, - bool inputIsContent, cmPolicies::PolicyStatus policyStatusCMP0070); + bool inputIsContent, mode_t permissions, + cmPolicies::PolicyStatus policyStatusCMP0070); void Generate(cmLocalGenerator* lg); @@ -59,4 +60,5 @@ private: std::vector<std::string> Files; const bool InputIsContent; cmPolicies::PolicyStatus PolicyStatusCMP0070; + mode_t Permissions; }; |