diff options
author | Wouter Klouwen <wouter.klouwen@youview.com> | 2018-11-20 10:17:33 +0000 |
---|---|---|
committer | Wouter Klouwen <wouter.klouwen@youview.com> | 2018-11-27 08:50:36 +0000 |
commit | 12b471e828e4462cce4354c87bb4fe18aeb600e3 (patch) | |
tree | ac94c73bfff84d0f6af70104ec4ab686e81a27b3 /Source/cmFileCommand.h | |
parent | d851a8b457251a577f10055d9fb277b75a82da6c (diff) | |
download | cmake-12b471e828e4462cce4354c87bb4fe18aeb600e3.tar.gz |
file: add SIZE option
This commit adds the SIZE option to file(). It returns the file size of
the given path if it exists and produces an error if not.
Diffstat (limited to 'Source/cmFileCommand.h')
-rw-r--r-- | Source/cmFileCommand.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h index 719dca29ee..01e007deba 100644 --- a/Source/cmFileCommand.h +++ b/Source/cmFileCommand.h @@ -59,6 +59,7 @@ protected: bool HandleTimestampCommand(std::vector<std::string> const& args); bool HandleGenerateCommand(std::vector<std::string> const& args); bool HandleLockCommand(std::vector<std::string> const& args); + bool HandleSizeCommand(std::vector<std::string> const& args); private: void AddEvaluationFile(const std::string& inputName, |